diff --git a/docs/cli/kops_rolling-update_cluster.md b/docs/cli/kops_rolling-update_cluster.md index 2cec8a7609..68d666c73a 100644 --- a/docs/cli/kops_rolling-update_cluster.md +++ b/docs/cli/kops_rolling-update_cluster.md @@ -53,10 +53,14 @@ kops rolling-update cluster ``` --bastion-interval duration Time to wait between restarting bastions (default 5m0s) --cloudonly Perform rolling update without confirming progress with k8s + --drain-interval duration The duration that a rolling-update will wait after the node is drained. (default 1m30s) + --fail-on-drain-error The rolling-update will fail if draining a node fails. (default true) + --fail-on-validate-error The rolling-update will fail if the cluster fails to validate. (default true) --force Force rolling update, even if no changes --instance-group stringSlice List of instance groups to update (defaults to all if not specified) --master-interval duration Time to wait between restarting masters (default 5m0s) --node-interval duration Time to wait between restarting nodes (default 2m0s) + --validate-retries int The number of times that a node will be validated. Between validation kops sleeps the master-interval/2 or node-interval/2 duration. (default 8) --yes perform rolling update without confirmation ``` diff --git a/pkg/featureflag/featureflag.go b/pkg/featureflag/featureflag.go index 03babde292..4c2d78b1ba 100644 --- a/pkg/featureflag/featureflag.go +++ b/pkg/featureflag/featureflag.go @@ -40,7 +40,7 @@ func Bool(b bool) *bool { var DNSPreCreate = New("DNSPreCreate", Bool(true)) // DrainAndValidateRollingUpdate if set will use new rolling update code that will drain and validate. -var DrainAndValidateRollingUpdate = New("DrainAndValidateRollingUpdate", Bool(false)) +var DrainAndValidateRollingUpdate = New("DrainAndValidateRollingUpdate", Bool(true)) // VPCSkipEnableDNSSupport if set will make that a VPC does not need DNSSupport enabled. var VPCSkipEnableDNSSupport = New("VPCSkipEnableDNSSupport", Bool(false))