Skip to content

Commit 798ea93

Browse files
authored
Fix cascade option value (bregman-arie#330)
--cascade=false is deprecated (boolean value) and can be replaced with --cascade=orphan
1 parent 5596825 commit 798ea93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

topics/kubernetes/solutions/replicaset_02_solution.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ kubectl get rs
3939
3. Remove the ReplicaSet but NOT the pods it created
4040

4141
```
42-
kubectl delete -f rs.yaml --cascade=false
42+
kubectl delete -f rs.yaml --cascade=orphan
4343
```
4444

4545
4. Verify you've deleted the ReplicaSet but the Pods are still running

0 commit comments

Comments
 (0)