Merge pull request #9030 from brendandburns/kubectl

Add a custom timeout flag for stop/delete.
This commit is contained in:
Brian Grant
2015-06-03 21:14:50 -07:00
12 changed files with 44 additions and 20 deletions

View File

@@ -49,6 +49,7 @@ $ kubectl delete pods --all
-h, --help=false: help for delete
--ignore-not-found=false: Treat "resource not found" as a successful delete.
-l, --selector="": Selector (label query) to filter on.
--timeout=0: The length of time to wait before giving up on a delete, zero means determine a timeout from the size of the object
```
### Options inherited from parent commands
@@ -83,6 +84,6 @@ $ kubectl delete pods --all
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra at 2015-05-21 18:30:45.437003409 +0000 UTC
###### Auto generated by spf13/cobra at 2015-06-03 18:21:01.053120485 +0000 UTC
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/kubectl_delete.md?pixel)]()

View File

@@ -39,6 +39,7 @@ $ kubectl stop -f path/to/resources
-h, --help=false: help for stop
--ignore-not-found=false: Treat "resource not found" as a successful stop.
-l, --selector="": Selector (label query) to filter on.
--timeout=0: The length of time to wait before giving up on a delete, zero means determine a timeout from the size of the object
```
### Options inherited from parent commands
@@ -73,6 +74,6 @@ $ kubectl stop -f path/to/resources
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra at 2015-05-21 18:30:45.439945376 +0000 UTC
###### Auto generated by spf13/cobra at 2015-05-29 23:14:50.709764383 +0000 UTC
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/kubectl_stop.md?pixel)]()

View File

@@ -57,6 +57,10 @@ will be lost along with the rest of the resource.
\fB\-l\fP, \fB\-\-selector\fP=""
Selector (label query) to filter on.
.PP
\fB\-\-timeout\fP=0
The length of time to wait before giving up on a delete, zero means determine a timeout from the size of the object
.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP

View File

@@ -45,6 +45,10 @@ If the resource is scalable it will be scaled to 0 before deletion.
\fB\-l\fP, \fB\-\-selector\fP=""
Selector (label query) to filter on.
.PP
\fB\-\-timeout\fP=0
The length of time to wait before giving up on a delete, zero means determine a timeout from the size of the object
.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP