mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 19:21:37 +00:00
Make delete actually stop resources by default.
Refactor for shared code.
This commit is contained in:
@@ -43,6 +43,7 @@ $ kubectl delete pods --all
|
||||
|
||||
```
|
||||
--all=false: [-all] to select all the specified resources
|
||||
--cascade=true: If true, cascade the delete resources managed by this resource (e.g. Pods created by a ReplicationController). Default true.
|
||||
-f, --filename=[]: Filename, directory, or URL to a file containing the resource to delete
|
||||
-h, --help=false: help for delete
|
||||
-l, --selector="": Selector (label query) to filter on
|
||||
@@ -81,4 +82,4 @@ $ kubectl delete pods --all
|
||||
### SEE ALSO
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-04-27 22:01:46.524590507 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-04-28 03:34:57.170113984 +0000 UTC
|
||||
|
Reference in New Issue
Block a user