Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout.

This commit is contained in:
Brendan Burns
2015-05-29 16:16:30 -07:00
parent 3cb30e1e21
commit ab0c9b8e1e
12 changed files with 44 additions and 20 deletions

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