Skip to content

Commit 3d35f77

Browse files
authored
Merge pull request #28374 from froblesmartin/patch-1
Updating --cascade=false to --cascade=orphan
2 parents b4fc266 + ba734d4 commit 3d35f77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/en/docs/tutorials/stateful-application/basic-stateful-set.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -845,12 +845,12 @@ kubectl get pods -w -l app=nginx
845845
```
846846

847847
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
849849
command. This parameter tells Kubernetes to only delete the StatefulSet, and to
850850
not delete any of its Pods.
851851

852852
```shell
853-
kubectl delete statefulset web --cascade=false
853+
kubectl delete statefulset web --cascade=orphan
854854
```
855855
```
856856
statefulset.apps "web" deleted
@@ -966,7 +966,7 @@ kubectl get pods -w -l app=nginx
966966
```
967967

968968
In another terminal, delete the StatefulSet again. This time, omit the
969-
`--cascade=false` parameter.
969+
`--cascade=orphan` parameter.
970970

971971
```shell
972972
kubectl delete statefulset web

0 commit comments

Comments
 (0)