mirror of https://github.com/kubernetes/kops.git
Merge pull request #6362 from mikesplain/automated-cherry-pick-of-#6185-origin-release-1.11
Automated cherry pick of #6185: Let a user specify the validation timeout when rotating a
This commit is contained in:
commit
9285f63583
|
@ -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