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
845
845
```
846
846
847
847
Use [ ` 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
849
849
command. This parameter tells Kubernetes to only delete the StatefulSet, and to
850
850
not delete any of its Pods.
851
851
852
852
``` shell
853
- kubectl delete statefulset web --cascade=false
853
+ kubectl delete statefulset web --cascade=orphan
854
854
```
855
855
```
856
856
statefulset.apps "web" deleted
@@ -966,7 +966,7 @@ kubectl get pods -w -l app=nginx
966
966
```
967
967
968
968
In another terminal, delete the StatefulSet again. This time, omit the
969
- ` --cascade=false ` parameter.
969
+ ` --cascade=orphan ` parameter.
970
970
971
971
``` shell
972
972
kubectl delete statefulset web
You can’t perform that action at this time.
0 commit comments