Refdocs for 1.2 import
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
---
|
||||
layout: docwithnav
|
||||
title: "kubectl stop"
|
||||
---
|
||||
<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
|
||||
|
||||
|
||||
@@ -23,15 +19,12 @@ Attempts to shut down and delete a resource that supports graceful termination.
|
||||
If the resource is scalable it will be scaled to 0 before deletion.
|
||||
|
||||
```
|
||||
{% raw %}
|
||||
kubectl stop (-f FILENAME | TYPE (NAME | -l label | --all))
|
||||
{% endraw %}
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
{% raw %}
|
||||
# Shut down foo.
|
||||
$ kubectl stop replicationcontroller foo
|
||||
|
||||
@@ -43,13 +36,11 @@ $ kubectl stop -f service.json
|
||||
|
||||
# Shut down all resources in the path/to/resources directory
|
||||
$ kubectl stop -f path/to/resources
|
||||
{% endraw %}
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
{% raw %}
|
||||
--all[=false]: [-all] to select all the specified resources.
|
||||
-f, --filename=[]: Filename, directory, or URL to file of resource(s) to be stopped.
|
||||
--grace-period=-1: Period of time in seconds given to the resource to terminate gracefully. Ignored if negative.
|
||||
@@ -57,17 +48,15 @@ $ kubectl stop -f path/to/resources
|
||||
-o, --output="": Output mode. Use "-o name" for shorter output (resource/name).
|
||||
-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
|
||||
{% endraw %}
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
{% raw %}
|
||||
--alsologtostderr[=false]: log to standard error as well as files
|
||||
--api-version="": The API version to use when talking to the server
|
||||
--certificate-authority="": Path to a cert. file for the certificate authority.
|
||||
--client-certificate="": Path to a client key file for TLS.
|
||||
--client-certificate="": Path to a client certificate file for TLS.
|
||||
--client-key="": Path to a client key file for TLS.
|
||||
--cluster="": The name of the kubeconfig cluster to use
|
||||
--context="": The name of the kubeconfig context to use
|
||||
@@ -87,14 +76,13 @@ $ kubectl stop -f path/to/resources
|
||||
--username="": Username for basic authentication to the API server.
|
||||
--v=0: log level for V logs
|
||||
--vmodule=: comma-separated list of pattern=N settings for file-filtered logging
|
||||
{% endraw %}
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [kubectl](kubectl.html) - kubectl controls the Kubernetes cluster manager
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-09-10 18:53:03.158360787 +0000 UTC
|
||||
###### Auto generated by spf13/cobra on 24-Nov-2015
|
||||
|
||||
|
||||
|
||||
@@ -106,4 +94,3 @@ $ kubectl stop -f path/to/resources
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
[]()
|
||||
<!-- END MUNGE: GENERATED_ANALYTICS -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user