examples: use 'kubectl scale' in cockroach statefulset example
This commit is contained in:
@@ -98,10 +98,10 @@ database and ensuring the other replicas have all data that was written.
|
|||||||
|
|
||||||
## Scaling up or down
|
## Scaling up or down
|
||||||
|
|
||||||
Simply patch the Stateful Set by running
|
Scale the Stateful Set by running
|
||||||
|
|
||||||
```shell
|
```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
|
Note that you may need to create a new persistent volume claim first. If you
|
||||||
|
Reference in New Issue
Block a user