NodegroupUpdateConfig
¶
Used by
-
AsyncEKSClient Operations -
EKSClient Operations
Source code in docs_src/capo_eks/types/nodegroup_update_config.py
max_unavailable
instance-attribute
¶
max_unavailable: NotRequired[NonZeroInteger]
The maximum number of nodes unavailable at once during a version update. Nodes are updated in parallel. This value or maxUnavailablePercentage is required to have a value.The maximum number is 100.
max_unavailable_percentage
instance-attribute
¶
max_unavailable_percentage: NotRequired[PercentCapacity]
The maximum percentage of nodes unavailable during a version update. This percentage of nodes are updated in parallel, up to 100 nodes at once. This value or maxUnavailable is required to have a value.
update_strategy
instance-attribute
¶
update_strategy: NotRequired[NodegroupUpdateStrategies]
The configuration for the behavior to follow during a node group version update of this managed node group. You choose between two possible strategies for replacing nodes during an UpdateNodegroupVersion action.
An Amazon EKS managed node group updates by replacing nodes with new nodes of newer AMI versions in parallel. The update strategy changes the managed node update behavior of the managed node group for each quantity. The default strategy has guardrails to protect you from misconfiguration and launches the new instances first, before terminating the old instances. The minimal strategy removes the guardrails and terminates the old instances before launching the new instances. This minimal strategy is useful in scenarios where you are constrained to resources or costs (for example, with hardware accelerators such as GPUs).