From 490fb99a307d808ead693123d0fbccdb6286f247 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Mon, 7 Aug 2017 16:48:21 -0700 Subject: [PATCH] Patch PR #4671 --- docs/concepts/workloads/controllers/garbage-collection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/workloads/controllers/garbage-collection.md b/docs/concepts/workloads/controllers/garbage-collection.md index a7d9b1491b..26908545c9 100644 --- a/docs/concepts/workloads/controllers/garbage-collection.md +++ b/docs/concepts/workloads/controllers/garbage-collection.md @@ -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.