UpdateConfigProperty Struct
The update configuration for the node group.
| Source | |
|---|---|
| Type last changed |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const updateConfigProperty: eks.CfnNodegroup.UpdateConfigProperty = {
maxUnavailable: 123,
maxUnavailablePercentage: 123,
updateStrategy: 'updateStrategy',
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_eks as eks
update_config_property = eks.CfnNodegroup.UpdateConfigProperty(
max_unavailable=123,
max_unavailable_percentage=123,
update_strategy="updateStrategy"
)
// 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();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EKS;
var updateConfigProperty = new UpdateConfigProperty {
MaxUnavailable = 123,
MaxUnavailablePercentage = 123,
UpdateStrategy = "updateStrategy"
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
updateConfigProperty := &UpdateConfigProperty{
MaxUnavailable: jsii.Number(123),
MaxUnavailablePercentage: jsii.Number(123),
UpdateStrategy: jsii.String("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).