56 lines
1.0 KiB
Groff
56 lines
1.0 KiB
Groff
.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" ""
|
|
|
|
|
|
.SH NAME
|
|
.PP
|
|
kubectl stop \- Gracefully shut down a resource by id or filename.
|
|
|
|
|
|
.SH SYNOPSIS
|
|
.PP
|
|
\fBkubectl stop\fP [OPTIONS]
|
|
|
|
|
|
.SH DESCRIPTION
|
|
.PP
|
|
Gracefully shut down a resource by id or filename.
|
|
|
|
.PP
|
|
Attempts to shut down and delete a resource that supports graceful termination.
|
|
If the resource is resizable it will be resized to 0 before deletion.
|
|
|
|
.PP
|
|
Examples:
|
|
|
|
.PP
|
|
.RS
|
|
|
|
.nf
|
|
// Shut down foo.
|
|
$ kubectl stop replicationcontroller foo
|
|
|
|
// Shut down the service defined in service.json
|
|
$ kubectl stop \-f service.json
|
|
|
|
// Shut down all resources in the path/to/resources directory
|
|
$ kubectl stop \-f path/to/resources
|
|
|
|
.fi
|
|
.RE
|
|
|
|
|
|
.SH OPTIONS
|
|
.PP
|
|
\fB\-f\fP, \fB\-\-filename\fP=[]
|
|
Filename, directory, or URL to file of resource(s) to be stopped
|
|
|
|
|
|
.SH SEE ALSO
|
|
.PP
|
|
\fBkubectl(1)\fP,
|
|
|
|
|
|
.SH HISTORY
|
|
.PP
|
|
January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since!
|