fix "Stateful Set" to "StatefulSet" (#7166)

* fix "Stateful Set" to "StatefulSet"

* adding a no-op commit to re-push netlify deploy
This commit is contained in:
huzhengchuan
2018-02-15 06:37:52 +08:00
committed by k8s-ci-robot
parent d4cc7949d3
commit 4368468ec7
@@ -5,7 +5,7 @@ approvers:
- foxish
- janetkuo
- smarterclayton
title: Delete a Stateful Set
title: Delete a StatefulSet
---
{% capture overview %}
@@ -40,7 +40,8 @@ You may need to delete the associated headless service separately after the Stat
kubectl delete service <service-name>
```
Deleting a StatefulSet through kubectl will scale it down to 0, thereby deleting all pods that are a part of it. If you want to delete just the StatefulSet and not the pods, use `--cascade=false`.
Deleting a StatefulSet through kubectl will scale it down to 0, thereby deleting all pods that are a part of it.
If you want to delete just the StatefulSet and not the pods, use `--cascade=false`.
```shell
kubectl delete -f <file.yaml> --cascade=false