Fix cascade option value (#330)
--cascade=false is deprecated (boolean value) and can be replaced with --cascade=orphan
This commit is contained in:
parent
5596825a28
commit
798ea938a3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user