mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Fix flag docs for replace cascade
This commit is contained in:
		@@ -28,7 +28,7 @@ Please refer to the models in
 | 
				
			|||||||
.SH OPTIONS
 | 
					.SH OPTIONS
 | 
				
			||||||
.PP
 | 
					.PP
 | 
				
			||||||
\fB\-\-cascade\fP=false
 | 
					\fB\-\-cascade\fP=false
 | 
				
			||||||
    Only relevant during a force replace. If true, cascade the deletion of the resources managed by this resource (e.g. Pods created by a ReplicationController).  Default true.
 | 
					    Only relevant during a force replace. If true, cascade the deletion of the resources managed by this resource (e.g. Pods created by a ReplicationController).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.PP
 | 
					.PP
 | 
				
			||||||
\fB\-f\fP, \fB\-\-filename\fP=[]
 | 
					\fB\-f\fP, \fB\-\-filename\fP=[]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -69,7 +69,7 @@ kubectl replace --force -f ./pod.json
 | 
				
			|||||||
### Options
 | 
					### Options
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
      --cascade[=false]: Only relevant during a force replace. If true, cascade the deletion of the resources managed by this resource (e.g. Pods created by a ReplicationController).  Default true.
 | 
					      --cascade[=false]: Only relevant during a force replace. If true, cascade the deletion of the resources managed by this resource (e.g. Pods created by a ReplicationController).
 | 
				
			||||||
  -f, --filename=[]: Filename, directory, or URL to file to use to replace the resource.
 | 
					  -f, --filename=[]: Filename, directory, or URL to file to use to replace the resource.
 | 
				
			||||||
      --force[=false]: Delete and re-create the specified resource
 | 
					      --force[=false]: Delete and re-create the specified resource
 | 
				
			||||||
      --grace-period=-1: Only relevant during a force replace. Period of time in seconds given to the old resource to terminate gracefully. Ignored if negative.
 | 
					      --grace-period=-1: Only relevant during a force replace. Period of time in seconds given to the old resource to terminate gracefully. Ignored if negative.
 | 
				
			||||||
@@ -111,7 +111,7 @@ kubectl replace --force -f ./pod.json
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
* [kubectl](kubectl.md)	 - kubectl controls the Kubernetes cluster manager
 | 
					* [kubectl](kubectl.md)	 - kubectl controls the Kubernetes cluster manager
 | 
				
			||||||
 | 
					
 | 
				
			||||||
###### Auto generated by spf13/cobra at 2015-08-09 17:46:44.43991637 +0000 UTC
 | 
					###### Auto generated by spf13/cobra at 2015-08-10 16:02:35.925298963 +0000 UTC
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
 | 
					<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
 | 
				
			||||||
[]()
 | 
					[]()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -70,7 +70,7 @@ func NewCmdReplace(f *cmdutil.Factory, out io.Writer) *cobra.Command {
 | 
				
			|||||||
	kubectl.AddJsonFilenameFlag(cmd, usage)
 | 
						kubectl.AddJsonFilenameFlag(cmd, usage)
 | 
				
			||||||
	cmd.MarkFlagRequired("filename")
 | 
						cmd.MarkFlagRequired("filename")
 | 
				
			||||||
	cmd.Flags().Bool("force", false, "Delete and re-create the specified resource")
 | 
						cmd.Flags().Bool("force", false, "Delete and re-create the specified resource")
 | 
				
			||||||
	cmd.Flags().Bool("cascade", false, "Only relevant during a force replace. If true, cascade the deletion of the resources managed by this resource (e.g. Pods created by a ReplicationController).  Default true.")
 | 
						cmd.Flags().Bool("cascade", false, "Only relevant during a force replace. If true, cascade the deletion of the resources managed by this resource (e.g. Pods created by a ReplicationController).")
 | 
				
			||||||
	cmd.Flags().Int("grace-period", -1, "Only relevant during a force replace. Period of time in seconds given to the old resource to terminate gracefully. Ignored if negative.")
 | 
						cmd.Flags().Int("grace-period", -1, "Only relevant during a force replace. Period of time in seconds given to the old resource to terminate gracefully. Ignored if negative.")
 | 
				
			||||||
	cmd.Flags().Duration("timeout", 0, "Only relevant during a force replace. The length of time to wait before giving up on a delete of the old resource, zero means determine a timeout from the size of the object")
 | 
						cmd.Flags().Duration("timeout", 0, "Only relevant during a force replace. The length of time to wait before giving up on a delete of the old resource, zero means determine a timeout from the size of the object")
 | 
				
			||||||
	cmdutil.AddOutputFlagsForMutation(cmd)
 | 
						cmdutil.AddOutputFlagsForMutation(cmd)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user