Skip to content

Commit ac5c52f

Browse files
committed
Merge branches 'release-1.7' and 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'release-1.7' of https://github.com/kubernetes/kubernetes.github.io: add doc for --as-group in cli * 'master' of https://github.com/kubernetes/kubernetes.github.io: cassandra.md: Fix Liquid syntax warning
2 parents c606bbd + cbdb177 commit ac5c52f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorials/stateful-application/cassandra.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ kubectl create -f cassandra/cassandra-statefulset.yaml
8383
kubectl exec -ti cassandra-0 -- nodetool status
8484

8585
# cleanup
86-
grace=$(kubectl get po cassandra-0 --template '{{.spec.terminationGracePeriodSeconds}}') \
86+
grace=$(kubectl get po cassandra-0 -o=jsonpath='{.spec.terminationGracePeriodSeconds}') \
8787
&& kubectl delete statefulset,po -l app=cassandra \
8888
&& echo "Sleeping $grace" \
8989
&& sleep $grace \
@@ -421,7 +421,7 @@ Deleting and/or scaling a StatefulSet down will not delete the volumes associate
421421
Use the following commands to delete the StatefulSet.
422422

423423
```console
424-
$ grace=$(kubectl get po cassandra-0 --template '{{.spec.terminationGracePeriodSeconds}}') \
424+
$ grace=$(kubectl get po cassandra-0 -o=jsonpath='{.spec.terminationGracePeriodSeconds}') \
425425
&& kubectl delete statefulset -l app=cassandra \
426426
&& echo "Sleeping $grace" \
427427
&& sleep $grace \

0 commit comments

Comments
 (0)