Interface CfnNodegroup.UpdateConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNodegroup.UpdateConfigProperty.Jsii$Proxy
- Enclosing class:
CfnNodegroup
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.eks.*; UpdateConfigProperty updateConfigProperty = UpdateConfigProperty.builder() .maxUnavailable(123) .maxUnavailablePercentage(123) .updateStrategy("updateStrategy") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnNodegroup.UpdateConfigProperty
static final class
An implementation forCfnNodegroup.UpdateConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
The maximum number of nodes unavailable at once during a version update.default Number
The maximum percentage of nodes unavailable during a version update.default String
The configuration for the behavior to follow during a node group version update of this managed node group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUpdateStrategy
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).
- See Also:
-
builder