examples: use 'kubectl scale' in cockroach statefulset example

This commit is contained in:
Michail Kargakis 2016-12-23 15:33:47 +01:00
parent fc41bc6ec6
commit fa02986c80

View File

@ -98,10 +98,10 @@ database and ensuring the other replicas have all data that was written.
## Scaling up or down
Simply patch the Stateful Set by running
Scale the Stateful Set by running
```shell
kubectl patch statefulset cockroachdb -p '{"spec":{"replicas":4}}'
kubectl scale statefulset cockroachdb --replicas=4
```
Note that you may need to create a new persistent volume claim first. If you