format skew within cassandra.md in the table of section Modifying the Cassandra StatefulSet (#6072)

This commit is contained in:
chenhonggc
2017-10-27 12:21:02 -05:00
committed by Steve Perry
parent ae415874a4
commit adcce7536f
@@ -154,26 +154,24 @@ Use `kubectl edit` to modify the size of of a Cassandra StatefulSet.
**Note:** The following sample is an excerpt of the StatefulSet file. **Note:** The following sample is an excerpt of the StatefulSet file.
{: .note} {: .note}
```yaml # Please edit the object below. Lines beginning with a '#' will be ignored,
# Please edit the object below. Lines beginning with a '#' will be ignored, # and an empty file will abort the edit. If an error occurs while saving this file will be
# and an empty file will abort the edit. If an error occurs while saving this file will be # reopened with the relevant failures.
# reopened with the relevant failures. #
# apiVersion: apps/v1beta2
apiVersion: apps/v1beta2 kind: StatefulSet
kind: StatefulSet metadata:
metadata: creationTimestamp: 2016-08-13T18:40:58Z
creationTimestamp: 2016-08-13T18:40:58Z generation: 1
generation: 1 labels:
labels: app: cassandra
app: cassandra name: cassandra
name: cassandra namespace: default
namespace: default resourceVersion: "323"
resourceVersion: "323" selfLink: /apis/apps/v1beta1/namespaces/default/statefulsets/cassandra
selfLink: /apis/apps/v1beta1/namespaces/default/statefulsets/cassandra uid: 7a219483-6185-11e6-a910-42010a8a0fc0
uid: 7a219483-6185-11e6-a910-42010a8a0fc0 spec:
spec: replicas: 3
replicas: 3
```
2. Change the number of replicas to 4, and then save the manifest. 2. Change the number of replicas to 4, and then save the manifest.