File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
content/en/docs/tutorials/stateful-application Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -845,12 +845,12 @@ kubectl get pods -w -l app=nginx
845845```
846846
847847Use [ ` kubectl delete ` ] ( /docs/reference/generated/kubectl/kubectl-commands/#delete ) to delete the
848- StatefulSet. Make sure to supply the ` --cascade=false ` parameter to the
848+ StatefulSet. Make sure to supply the ` --cascade=orphan ` parameter to the
849849command. This parameter tells Kubernetes to only delete the StatefulSet, and to
850850not delete any of its Pods.
851851
852852``` shell
853- kubectl delete statefulset web --cascade=false
853+ kubectl delete statefulset web --cascade=orphan
854854```
855855```
856856statefulset.apps "web" deleted
@@ -966,7 +966,7 @@ kubectl get pods -w -l app=nginx
966966```
967967
968968In another terminal, delete the StatefulSet again. This time, omit the
969- ` --cascade=false ` parameter.
969+ ` --cascade=orphan ` parameter.
970970
971971``` shell
972972kubectl delete statefulset web
You can’t perform that action at this time.
0 commit comments