mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Deprecate kubectl stop command
Added deprecation warning for stop.
This commit is contained in:
		@@ -3,7 +3,7 @@
 | 
			
		||||
 | 
			
		||||
.SH NAME
 | 
			
		||||
.PP
 | 
			
		||||
kubectl stop \- Gracefully shut down a resource by name or filename.
 | 
			
		||||
kubectl stop \- Deprecated: Gracefully shut down a resource by name or filename.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
.SH SYNOPSIS
 | 
			
		||||
@@ -13,7 +13,11 @@ kubectl stop \- Gracefully shut down a resource by name or filename.
 | 
			
		||||
 | 
			
		||||
.SH DESCRIPTION
 | 
			
		||||
.PP
 | 
			
		||||
Gracefully shut down a resource by name or filename.
 | 
			
		||||
Deprecated: Gracefully shut down a resource by name or filename.
 | 
			
		||||
 | 
			
		||||
.PP
 | 
			
		||||
stop command is deprecated, all its functionalities are covered by delete command.
 | 
			
		||||
See 'kubectl delete \-\-help' for more details.
 | 
			
		||||
 | 
			
		||||
.PP
 | 
			
		||||
Attempts to shut down and delete a resource that supports graceful termination.
 | 
			
		||||
 
 | 
			
		||||
@@ -97,10 +97,10 @@ kubectl
 | 
			
		||||
* [kubectl rolling-update](kubectl_rolling-update.md)	 - Perform a rolling update of the given ReplicationController.
 | 
			
		||||
* [kubectl run](kubectl_run.md)	 - Run a particular image on the cluster.
 | 
			
		||||
* [kubectl scale](kubectl_scale.md)	 - Set a new size for a Replication Controller.
 | 
			
		||||
* [kubectl stop](kubectl_stop.md)	 - Gracefully shut down a resource by name or filename.
 | 
			
		||||
* [kubectl stop](kubectl_stop.md)	 - Deprecated: Gracefully shut down a resource by name or filename.
 | 
			
		||||
* [kubectl version](kubectl_version.md)	 - Print the client and server version information.
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra at 2015-07-14 00:11:42.96000791 +0000 UTC
 | 
			
		||||
###### Auto generated by spf13/cobra at 2015-07-29 09:18:59.541696918 +0000 UTC
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
 | 
			
		||||
 
 | 
			
		||||
@@ -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 -->
 | 
			
		||||
 
 | 
			
		||||
@@ -27,7 +27,10 @@ import (
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	stop_long = `Gracefully shut down a resource by name or filename.
 | 
			
		||||
	stop_long = `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.`
 | 
			
		||||
@@ -50,7 +53,7 @@ func NewCmdStop(f *cmdutil.Factory, out io.Writer) *cobra.Command {
 | 
			
		||||
	}{}
 | 
			
		||||
	cmd := &cobra.Command{
 | 
			
		||||
		Use:     "stop (-f FILENAME | RESOURCE (NAME | -l label | --all))",
 | 
			
		||||
		Short:   "Gracefully shut down a resource by name or filename.",
 | 
			
		||||
		Short:   "Deprecated: Gracefully shut down a resource by name or filename.",
 | 
			
		||||
		Long:    stop_long,
 | 
			
		||||
		Example: stop_example,
 | 
			
		||||
		Run: func(cmd *cobra.Command, args []string) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user