From 7483d9b6788e3372b8439f956c8d157df2e770e8 Mon Sep 17 00:00:00 2001 From: Marcel Dempers <34320559+marcel-dempers@users.noreply.github.com> Date: Wed, 4 Nov 2020 10:06:06 +0000 Subject: [PATCH] fix up docs --- kubernetes/persistentvolume/readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kubernetes/persistentvolume/readme.md b/kubernetes/persistentvolume/readme.md index 287c440..41be817 100644 --- a/kubernetes/persistentvolume/readme.md +++ b/kubernetes/persistentvolume/readme.md @@ -1,9 +1,9 @@ -# Persisted Volumes Demo +# Persistent Volumes Demo ## Container Storage By default containers store their data on the file system like any other process. -Container file system is temporary and not persisted during container restarts +Container file system is temporary and not persistent during container restarts When container is recreated, so is the file system @@ -40,7 +40,7 @@ Since data is lost. Same can be demonstrated using Kubernetes ``` -cd .\kubernetes\persistedvolumes\ +cd .\kubernetes\persistentvolume\ kubectl create ns postgres kubectl apply -n postgres -f ./postgres-no-pv.yaml @@ -67,8 +67,8 @@ docker run -d --rm -v postges:/var/lib/postgresql/data -e POSTGRES_DB=postgresdb ``` -kubectl apply -f persistedvolume.yaml -kubectl apply -n postgres -f persistedvolumeclaim.yaml +kubectl apply -f persistentvolume.yaml +kubectl apply -n postgres -f persistentvolumeclaim.yaml kubectl apply -n postgres -f postgres-with-pv.yaml