From 11046b6c63ffc7b8f94061415d6d598ab695a4ab Mon Sep 17 00:00:00 2001 From: Thomas Paulmyer Date: Thu, 23 May 2019 11:42:47 +0200 Subject: [PATCH] remove wrong directory in kubectl apply examples in volumes (#47) --- 17-volumes/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/17-volumes/README.md b/17-volumes/README.md index 0b07541..4bd7ab7 100644 --- a/17-volumes/README.md +++ b/17-volumes/README.md @@ -47,7 +47,7 @@ Let's review some parameters: Apply it: ```sh -kubectl apply -f 10-volumes/01-simple-mysql-pv.yml +kubectl apply -f 01-simple-mysql-pv.yml ``` Now that we have a storage, we need to claim it, make it available for our pods. So we need a `PersistentVolumeClaim`. It is a request for storage by a user. It is similar to a pod. Pods consume node resources and `PersistentVolumeClaim` consume `PersistentVolume` resources. @@ -68,7 +68,7 @@ spec: The manifest is pretty similar to the `PersistentVolume`: ```sh -kubectl apply -f 10-volumes/02-simple-mysql-pvc.yml +kubectl apply -f 02-simple-mysql-pvc.yml ``` ## Stateful application @@ -76,7 +76,7 @@ kubectl apply -f 10-volumes/02-simple-mysql-pvc.yml Now let's create the `deployment` of mysql: ```sh -kubectl apply -f 10-volumes/03-simple-mysql-deployment.yml +kubectl apply -f 03-simple-mysql-deployment.yml ``` There is a bunch of parameters we haven't seen yet: @@ -97,7 +97,7 @@ There is a bunch of parameters we haven't seen yet: Let's finish by creating a `service` to have stable DNS entry inside our cluster. ```sh -kubectl apply -f 10-volumes/04-simple-mysql-service.yml +kubectl apply -f 04-simple-mysql-service.yml ``` Finally let's access the mysql: