From 0ddaff722445e79cc6c6ec2e5d2861959dc0b040 Mon Sep 17 00:00:00 2001 From: krmayankk Date: Mon, 20 Aug 2018 14:27:51 -0700 Subject: [PATCH] fix gc documentation (#9857) * fix gc documentation * review comments --- .../docs/concepts/workloads/controllers/garbage-collection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/concepts/workloads/controllers/garbage-collection.md b/content/en/docs/concepts/workloads/controllers/garbage-collection.md index 20a28f977b..66ac4a5c58 100644 --- a/content/en/docs/concepts/workloads/controllers/garbage-collection.md +++ b/content/en/docs/concepts/workloads/controllers/garbage-collection.md @@ -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.