From 97e22b575b9c9fa2d437d1b8c12bd6a1726cad74 Mon Sep 17 00:00:00 2001 From: pashok2398 Date: Mon, 18 Dec 2017 09:13:06 +0200 Subject: [PATCH] Fix yaml path based on the new location (#159) --- staging/storage/redis/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/staging/storage/redis/README.md b/staging/storage/redis/README.md index f934e8f2..cf19f425 100644 --- a/staging/storage/redis/README.md +++ b/staging/storage/redis/README.md @@ -22,7 +22,7 @@ Here is the config for the initial master and sentinel pod: [redis-master.yaml]( Create this master as follows: ```sh -kubectl create -f examples/storage/redis/redis-master.yaml +kubectl create -f examples/staging/storage/redis/redis-master.yaml ``` ### Turning up a sentinel service @@ -36,7 +36,7 @@ Here is the definition of the sentinel service: [redis-sentinel-service.yaml](re Create this service: ```sh -kubectl create -f examples/storage/redis/redis-sentinel-service.yaml +kubectl create -f examples/staging/storage/redis/redis-sentinel-service.yaml ``` ### Turning up replicated redis servers @@ -52,7 +52,7 @@ The bulk of this controller config is actually identical to the redis-master pod Create this controller: ```sh -kubectl create -f examples/storage/redis/redis-controller.yaml +kubectl create -f examples/staging/storage/redis/redis-controller.yaml ``` We'll do the same thing for the sentinel. Here is the controller config: [redis-sentinel-controller.yaml](redis-sentinel-controller.yaml) @@ -60,7 +60,7 @@ We'll do the same thing for the sentinel. Here is the controller config: [redis We create it as follows: ```sh -kubectl create -f examples/storage/redis/redis-sentinel-controller.yaml +kubectl create -f examples/staging/storage/redis/redis-sentinel-controller.yaml ``` ### Scale our replicated pods @@ -108,16 +108,16 @@ For those of you who are impatient, here is the summary of commands we ran in th ``` # Create a bootstrap master -kubectl create -f examples/storage/redis/redis-master.yaml +kubectl create -f examples/staging/storage/redis/redis-master.yaml # Create a service to track the sentinels -kubectl create -f examples/storage/redis/redis-sentinel-service.yaml +kubectl create -f examples/staging/storage/redis/redis-sentinel-service.yaml # Create a replication controller for redis servers -kubectl create -f examples/storage/redis/redis-controller.yaml +kubectl create -f examples/staging/storage/redis/redis-controller.yaml # Create a replication controller for redis sentinels -kubectl create -f examples/storage/redis/redis-sentinel-controller.yaml +kubectl create -f examples/staging/storage/redis/redis-sentinel-controller.yaml # Scale both replication controllers kubectl scale rc redis --replicas=3 @@ -130,5 +130,5 @@ kubectl delete pods redis-master -[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/examples/storage/redis/README.md?pixel)]() +[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/examples/staging/storage/redis/README.md?pixel)]()