diff --git a/k8s/crds/kops.k8s.io_clusters.yaml b/k8s/crds/kops.k8s.io_clusters.yaml index c466f8336e..74ba98e358 100644 --- a/k8s/crds/kops.k8s.io_clusters.yaml +++ b/k8s/crds/kops.k8s.io_clusters.yaml @@ -2889,6 +2889,19 @@ spec: description: RollingUpdate defines the default rolling-update settings for instance groups properties: + maxSurge: + anyOf: + - type: string + - type: integer + description: 'MaxSurge is the maximum number of extra nodes that + can be created during the update. The value can be an absolute + number (for example 5) or a percentage of desired machines (for + example 10%). The absolute number is calculated from a percentage + by rounding up. A value of 0 for both this and MaxUnavailable + disables rolling updates. Defaults to 0. Example: when this is + set to 30%, the InstanceGroup can be scaled up immediately when + the rolling update starts, such that the total number of old and + new nodes do not exceed 130% of desired nodes.' maxUnavailable: anyOf: - type: string @@ -2897,12 +2910,13 @@ spec: can be unavailable during the update. The value can be an absolute number (for example 5) or a percentage of desired nodes (for example 10%). The absolute number is calculated from a percentage by rounding - down. A value of 0 disables rolling updates. Defaults to 1. Example: - when this is set to 30%, the InstanceGroup can be scaled down - to 70% of desired nodes immediately when the rolling update starts. - Once new nodes are ready, more old nodes can be drained, ensuring - that the total number of nodes available at all times during the - update is at least 70% of desired nodes.' + down. A value of 0 for both this and MaxSurge disables rolling + updates. Defaults to 1 if MaxSurge is 0, otherwise defaults to + 0. Example: when this is set to 30%, the InstanceGroup can be + scaled down to 70% of desired nodes immediately when the rolling + update starts. Once new nodes are ready, more old nodes can be + drained, ensuring that the total number of nodes available at + all times during the update is at least 70% of desired nodes.' type: object secretStore: description: SecretStore is the VFS path to where secrets are stored diff --git a/k8s/crds/kops.k8s.io_instancegroups.yaml b/k8s/crds/kops.k8s.io_instancegroups.yaml index f3c35a309f..d3c9fdb399 100644 --- a/k8s/crds/kops.k8s.io_instancegroups.yaml +++ b/k8s/crds/kops.k8s.io_instancegroups.yaml @@ -627,6 +627,19 @@ spec: rollingUpdate: description: RollingUpdate defines the rolling-update behavior properties: + maxSurge: + anyOf: + - type: string + - type: integer + description: 'MaxSurge is the maximum number of extra nodes that + can be created during the update. The value can be an absolute + number (for example 5) or a percentage of desired machines (for + example 10%). The absolute number is calculated from a percentage + by rounding up. A value of 0 for both this and MaxUnavailable + disables rolling updates. Defaults to 0. Example: when this is + set to 30%, the InstanceGroup can be scaled up immediately when + the rolling update starts, such that the total number of old and + new nodes do not exceed 130% of desired nodes.' maxUnavailable: anyOf: - type: string @@ -635,12 +648,13 @@ spec: can be unavailable during the update. The value can be an absolute number (for example 5) or a percentage of desired nodes (for example 10%). The absolute number is calculated from a percentage by rounding - down. A value of 0 disables rolling updates. Defaults to 1. Example: - when this is set to 30%, the InstanceGroup can be scaled down - to 70% of desired nodes immediately when the rolling update starts. - Once new nodes are ready, more old nodes can be drained, ensuring - that the total number of nodes available at all times during the - update is at least 70% of desired nodes.' + down. A value of 0 for both this and MaxSurge disables rolling + updates. Defaults to 1 if MaxSurge is 0, otherwise defaults to + 0. Example: when this is set to 30%, the InstanceGroup can be + scaled down to 70% of desired nodes immediately when the rolling + update starts. Once new nodes are ready, more old nodes can be + drained, ensuring that the total number of nodes available at + all times during the update is at least 70% of desired nodes.' type: object rootVolumeDeleteOnTermination: description: 'RootVolumeDeleteOnTermination configures root volume retention