Skip to content

Commit

Permalink
Merge branches 'release-1.7' and 'master' of https://github.com/kuber…
Browse files Browse the repository at this point in the history
…netes/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
  • Loading branch information
chenopis committed Jun 29, 2017
2 parents c606bbd + cbdb177 commit ac5c52f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/stateful-application/cassandra.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ kubectl create -f cassandra/cassandra-statefulset.yaml
kubectl exec -ti cassandra-0 -- nodetool status

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

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

0 comments on commit ac5c52f

Please sign in to comment.