Deprecate kubectl stop command

Added deprecation warning for stop.
This commit is contained in:
hurf
2015-07-29 17:19:18 +08:00
parent dde72229dc
commit 35cac3c4e7
4 changed files with 19 additions and 9 deletions

View File

@@ -33,12 +33,15 @@ Documentation for other releases can be found at
## kubectl stop
Gracefully shut down a resource by name or filename.
Deprecated: Gracefully shut down a resource by name or filename.
### Synopsis
Gracefully shut down a resource by name or filename.
Deprecated: Gracefully shut down a resource by name or filename.
stop command is deprecated, all its functionalities are covered by delete command.
See 'kubectl delete --help' for more details.
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.
@@ -108,7 +111,7 @@ $ kubectl stop -f path/to/resources
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra at 2015-07-14 00:11:42.957441942 +0000 UTC
###### Auto generated by spf13/cobra at 2015-07-29 09:18:59.539597953 +0000 UTC
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->