Merge pull request #7432 from piosz/termination_notice

Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
This commit is contained in:
Clayton Coleman
2015-04-30 13:55:51 -04:00
39 changed files with 164 additions and 58 deletions

View File

@@ -41,6 +41,10 @@ will be lost along with the rest of the resource.
\fB\-f\fP, \fB\-\-filename\fP=[]
Filename, directory, or URL to a file containing the resource to delete
.PP
\fB\-\-grace\-period\fP=\-1
Period of time in seconds given to the resource to terminate gracefully. Ignored if negative.
.PP
\fB\-h\fP, \fB\-\-help\fP=false
help for delete

View File

@@ -29,6 +29,10 @@ If the resource is resizable it will be resized to 0 before deletion.
\fB\-f\fP, \fB\-\-filename\fP=[]
Filename, directory, or URL to file of resource(s) to be stopped
.PP
\fB\-\-grace\-period\fP=\-1
Period of time in seconds given to the resource to terminate gracefully. Ignored if negative.
.PP
\fB\-h\fP, \fB\-\-help\fP=false
help for stop