mirror of https://github.com/kubernetes/kops.git
				
				
				
			Merge pull request #6185 from rdrgmnzs/cluster-rotation-validation-timeout
Let a user specify the validation timeout when rotating a cluster.
This commit is contained in:
		
						commit
						1f38ac53b8
					
				| 
						 | 
				
			
			@ -177,6 +177,7 @@ func NewCmdRollingUpdateCluster(f *util.Factory, out io.Writer) *cobra.Command {
 | 
			
		|||
	cmd.Flags().BoolVar(&options.Force, "force", options.Force, "Force rolling update, even if no changes")
 | 
			
		||||
	cmd.Flags().BoolVar(&options.CloudOnly, "cloudonly", options.CloudOnly, "Perform rolling update without confirming progress with k8s")
 | 
			
		||||
 | 
			
		||||
	cmd.Flags().DurationVar(&options.ValidationTimeout, "validation-timeout", options.ValidationTimeout, "Maximum time to wait for a cluster to validate")
 | 
			
		||||
	cmd.Flags().DurationVar(&options.MasterInterval, "master-interval", options.MasterInterval, "Time to wait between restarting masters")
 | 
			
		||||
	cmd.Flags().DurationVar(&options.NodeInterval, "node-interval", options.NodeInterval, "Time to wait between restarting nodes")
 | 
			
		||||
	cmd.Flags().DurationVar(&options.BastionInterval, "bastion-interval", options.BastionInterval, "Time to wait between restarting bastions")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -78,6 +78,7 @@ kops rolling-update cluster [flags]
 | 
			
		|||
  -i, --interactive                    Prompt to continue after each instance is updated
 | 
			
		||||
      --master-interval duration       Time to wait between restarting masters (default 5m0s)
 | 
			
		||||
      --node-interval duration         Time to wait between restarting nodes (default 4m0s)
 | 
			
		||||
      --validation-timeout duration    Maximum time to wait for a cluster to validate (default 5m0s)
 | 
			
		||||
  -y, --yes                            Perform rolling update immediately, without --yes rolling-update executes a dry-run
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue