cassandra.md: Fix Liquid syntax warning
Fixes #4198 Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
committed by
Andrew Chen
parent
46be5c6bc7
commit
cbdb17706f
@@ -83,7 +83,7 @@ kubectl create -f cassandra/cassandra-statefulset.yaml
|
|||||||
kubectl exec -ti cassandra-0 -- nodetool status
|
kubectl exec -ti cassandra-0 -- nodetool status
|
||||||
|
|
||||||
# cleanup
|
# 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 \
|
&& kubectl delete statefulset,po -l app=cassandra \
|
||||||
&& echo "Sleeping $grace" \
|
&& echo "Sleeping $grace" \
|
||||||
&& sleep $grace \
|
&& sleep $grace \
|
||||||
@@ -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.
|
Use the following commands to delete the StatefulSet.
|
||||||
|
|
||||||
```console
|
```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 \
|
&& kubectl delete statefulset -l app=cassandra \
|
||||||
&& echo "Sleeping $grace" \
|
&& echo "Sleeping $grace" \
|
||||||
&& sleep $grace \
|
&& sleep $grace \
|
||||||
|
|||||||
Reference in New Issue
Block a user