Patch PR #4671
parent
d76fbb0b27
commit
490fb99a30
|
@ -149,7 +149,7 @@ kubectl delete replicaset my-repset --cascade=false
|
|||
|
||||
### Addtional note on Deployments
|
||||
|
||||
When using cascading deletes with deployments you *must* use _propagationPolicy: Foreground_
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue