Class CfnNodegroup.UpdateConfigProperty
The update configuration for the node group.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EKS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class UpdateConfigProperty : Object, CfnNodegroup.IUpdateConfigProperty
Syntax (vb)
Public Class UpdateConfigProperty
Inherits Object
Implements CfnNodegroup.IUpdateConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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"
};
Synopsis
Constructors
Update |
Properties
Max |
The maximum number of nodes unavailable at once during a version update. |
Max |
The maximum percentage of nodes unavailable during a version update. |
Update |
The configuration for the behavior to follow during a node group version update of this managed node group. |
Constructors
UpdateConfigProperty()
public UpdateConfigProperty()
Properties
MaxUnavailable
The maximum number of nodes unavailable at once during a version update.
public Nullable<double> MaxUnavailable { get; set; }
Property Value
System.
Remarks
Nodes are updated in parallel. This value or maxUnavailablePercentage
is required to have a value.The maximum number is 100.
MaxUnavailablePercentage
The maximum percentage of nodes unavailable during a version update.
public Nullable<double> MaxUnavailablePercentage { get; set; }
Property Value
System.
Remarks
This percentage of nodes are updated in parallel, up to 100 nodes at once. This value or maxUnavailable
is required to have a value.
UpdateStrategy
The configuration for the behavior to follow during a node group version update of this managed node group.
public string UpdateStrategy { get; set; }
Property Value
System.
Remarks
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).