Fix indentation issues

This commit is contained in:
lucperkins
2018-06-25 10:54:12 -07:00
parent 8c95be965a
commit 3edad5889f
@@ -123,7 +123,7 @@ The StatefulSet manifest, included below, creates a Cassandra ring that consists
cassandra 3 0 13s cassandra 3 0 13s
``` ```
The StatefulSet resource deploys Pods sequentially. The StatefulSet resource deploys Pods sequentially.
2. Get the Pods to see the ordered creation status: 2. Get the Pods to see the ordered creation status:
@@ -177,30 +177,32 @@ Use `kubectl edit` to modify the size of a Cassandra StatefulSet.
kubectl edit statefulset cassandra kubectl edit statefulset cassandra
``` ```
This command opens an editor in your terminal. The line you need to change is the `replicas` field. This command opens an editor in your terminal. The line you need to change is the `replicas` field.
{{< note >}} {{< note >}}
**Note:** The following sample is an excerpt of the StatefulSet file. **Note:** The following sample is an excerpt of the StatefulSet file.
{{< /note >}} {{< /note >}}
# Please edit the object below. Lines beginning with a '#' will be ignored, ```yaml
# and an empty file will abort the edit. If an error occurs while saving this file will be # Please edit the object below. Lines beginning with a '#' will be ignored,
# reopened with the relevant failures. # and an empty file will abort the edit. If an error occurs while saving this file will be
# # reopened with the relevant failures.
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2 #
kind: StatefulSet apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
metadata: kind: StatefulSet
creationTimestamp: 2016-08-13T18:40:58Z metadata:
generation: 1 creationTimestamp: 2016-08-13T18:40:58Z
labels: generation: 1
app: cassandra labels:
name: cassandra app: cassandra
namespace: default name: cassandra
resourceVersion: "323" namespace: default
selfLink: /apis/apps/v1/namespaces/default/statefulsets/cassandra resourceVersion: "323"
uid: 7a219483-6185-11e6-a910-42010a8a0fc0 selfLink: /apis/apps/v1/namespaces/default/statefulsets/cassandra
spec: uid: 7a219483-6185-11e6-a910-42010a8a0fc0
replicas: 3 spec:
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.
@@ -253,4 +255,3 @@ Deleting or scaling a StatefulSet down does not delete the volumes associated wi
{{% /capture %}} {{% /capture %}}