UpdateConfigProperty Struct
The update configuration for the node group.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks_v2 as eks_v2 } from 'aws-cdk-lib';
const updateConfigProperty: eks_v2.CfnNodegroup.UpdateConfigProperty = {
maxUnavailable: 123,
maxUnavailablePercentage: 123,
updateStrategy: 'updateStrategy',
};
Properties
updateStrategyoptionalstringupdate_strategyoptionalstrupdateStrategyoptionalStringUpdateStrategyoptionalstringUpdateStrategyoptional*string#notes
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).