Show / Hide Table of Contents

Class CfnNodegroup.UpdateConfigProperty

The update configuration for the node group.

Inheritance
object
CfnNodegroup.UpdateConfigProperty
Implements
CfnNodegroup.IUpdateConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EKS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnNodegroup.UpdateConfigProperty : CfnNodegroup.IUpdateConfigProperty
Syntax (vb)
Public Class CfnNodegroup.UpdateConfigProperty Implements CfnNodegroup.IUpdateConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-updateconfig.html

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

UpdateConfigProperty()

The update configuration for the node group.

Properties

MaxUnavailable

The maximum number of nodes unavailable at once during a version update.

MaxUnavailablePercentage

The maximum percentage of nodes unavailable during a version update.

UpdateStrategy

The configuration for the behavior to follow during a node group version update of this managed node group.

Constructors

UpdateConfigProperty()

The update configuration for the node group.

public UpdateConfigProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-updateconfig.html

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"
             };

Properties

MaxUnavailable

The maximum number of nodes unavailable at once during a version update.

public double? MaxUnavailable { get; set; }
Property Value

double?

Remarks

Nodes are updated in parallel. This value or maxUnavailablePercentage is required to have a value.The maximum number is 100.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-updateconfig.html#cfn-eks-nodegroup-updateconfig-maxunavailable

MaxUnavailablePercentage

The maximum percentage of nodes unavailable during a version update.

public double? MaxUnavailablePercentage { get; set; }
Property Value

double?

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-updateconfig.html#cfn-eks-nodegroup-updateconfig-maxunavailablepercentage

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

string

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).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-updateconfig.html#cfn-eks-nodegroup-updateconfig-updatestrategy

Implements

CfnNodegroup.IUpdateConfigProperty
Back to top Generated by DocFX