Fix cascade option value (#330)

--cascade=false is deprecated (boolean value) and can be replaced with --cascade=orphan
This commit is contained in:
Chimon Sultan 2023-01-04 13:17:38 +01:00 committed by GitHub
parent 5596825a28
commit 798ea938a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ kubectl get rs
3. Remove the ReplicaSet but NOT the pods it created 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 4. Verify you've deleted the ReplicaSet but the Pods are still running