From 798ea938a35b141d88c70c11a5fc146e0264ef87 Mon Sep 17 00:00:00 2001 From: Chimon Sultan Date: Wed, 4 Jan 2023 13:17:38 +0100 Subject: [PATCH] Fix cascade option value (#330) --cascade=false is deprecated (boolean value) and can be replaced with --cascade=orphan --- topics/kubernetes/solutions/replicaset_02_solution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topics/kubernetes/solutions/replicaset_02_solution.md b/topics/kubernetes/solutions/replicaset_02_solution.md index 1e9e082..1f73874 100644 --- a/topics/kubernetes/solutions/replicaset_02_solution.md +++ b/topics/kubernetes/solutions/replicaset_02_solution.md @@ -39,7 +39,7 @@ kubectl get rs 3. Remove the ReplicaSet but NOT the pods it created ``` -kubectl delete -f rs.yaml --cascade=false +kubectl delete -f rs.yaml --cascade=orphan ``` 4. Verify you've deleted the ReplicaSet but the Pods are still running