Make delete actually stop resources by default.

Refactor for shared code.
This commit is contained in:
Brendan Burns
2015-04-22 21:15:15 -07:00
parent 01f201945d
commit e1256c0802
34 changed files with 122 additions and 57 deletions

View File

@@ -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