fix gc documentation (#9857)

* fix gc documentation

* review comments
This commit is contained in:
krmayankk 2018-08-20 14:27:51 -07:00 committed by k8s-ci-robot
parent 23dcd8db04
commit 0ddaff7224
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ kubectl delete replicaset my-repset --cascade=false
### Additional note on Deployments
When using cascading deletes with Deployments you *must* use `propagationPolicy: Foreground`
Prior to 1.7, When using cascading deletes with Deployments you *must* use `propagationPolicy: Foreground`
to delete not only the ReplicaSets created, but also their Pods. If this type of _propagationPolicy_
is not used, only the ReplicaSets will be deleted, and the Pods will be orphaned.
See [kubeadm/#149](https://github.com/kubernetes/kubeadm/issues/149#issuecomment-284766613) for more information.