make crds

This commit is contained in:
John Gardiner Myers 2020-01-05 17:54:45 -08:00
parent c95a43c026
commit b8e665018c
2 changed files with 40 additions and 12 deletions

View File

@ -2889,6 +2889,19 @@ spec:
description: RollingUpdate defines the default rolling-update settings description: RollingUpdate defines the default rolling-update settings
for instance groups for instance groups
properties: 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: maxUnavailable:
anyOf: anyOf:
- type: string - type: string
@ -2897,12 +2910,13 @@ spec:
can be unavailable during the update. The value can be an absolute can be unavailable during the update. The value can be an absolute
number (for example 5) or a percentage of desired nodes (for example number (for example 5) or a percentage of desired nodes (for example
10%). The absolute number is calculated from a percentage by rounding 10%). The absolute number is calculated from a percentage by rounding
down. A value of 0 disables rolling updates. Defaults to 1. Example: down. A value of 0 for both this and MaxSurge disables rolling
when this is set to 30%, the InstanceGroup can be scaled down updates. Defaults to 1 if MaxSurge is 0, otherwise defaults to
to 70% of desired nodes immediately when the rolling update starts. 0. Example: when this is set to 30%, the InstanceGroup can be
Once new nodes are ready, more old nodes can be drained, ensuring scaled down to 70% of desired nodes immediately when the rolling
that the total number of nodes available at all times during the update starts. Once new nodes are ready, more old nodes can be
update is at least 70% of desired nodes.' drained, ensuring that the total number of nodes available at
all times during the update is at least 70% of desired nodes.'
type: object type: object
secretStore: secretStore:
description: SecretStore is the VFS path to where secrets are stored description: SecretStore is the VFS path to where secrets are stored

View File

@ -627,6 +627,19 @@ spec:
rollingUpdate: rollingUpdate:
description: RollingUpdate defines the rolling-update behavior description: RollingUpdate defines the rolling-update behavior
properties: 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: maxUnavailable:
anyOf: anyOf:
- type: string - type: string
@ -635,12 +648,13 @@ spec:
can be unavailable during the update. The value can be an absolute can be unavailable during the update. The value can be an absolute
number (for example 5) or a percentage of desired nodes (for example number (for example 5) or a percentage of desired nodes (for example
10%). The absolute number is calculated from a percentage by rounding 10%). The absolute number is calculated from a percentage by rounding
down. A value of 0 disables rolling updates. Defaults to 1. Example: down. A value of 0 for both this and MaxSurge disables rolling
when this is set to 30%, the InstanceGroup can be scaled down updates. Defaults to 1 if MaxSurge is 0, otherwise defaults to
to 70% of desired nodes immediately when the rolling update starts. 0. Example: when this is set to 30%, the InstanceGroup can be
Once new nodes are ready, more old nodes can be drained, ensuring scaled down to 70% of desired nodes immediately when the rolling
that the total number of nodes available at all times during the update starts. Once new nodes are ready, more old nodes can be
update is at least 70% of desired nodes.' drained, ensuring that the total number of nodes available at
all times during the update is at least 70% of desired nodes.'
type: object type: object
rootVolumeDeleteOnTermination: rootVolumeDeleteOnTermination:
description: 'RootVolumeDeleteOnTermination configures root volume retention description: 'RootVolumeDeleteOnTermination configures root volume retention