Fix yaml path based on the new location (#159)
This commit is contained in:
parent
6591a9be0e
commit
97e22b575b
|
|
@ -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
|
|||
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
[]()
|
||||
[]()
|
||||
<!-- END MUNGE: GENERATED_ANALYTICS -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue