Show / Hide Table of Contents

Interface CfnNodegroup.INodeRepairConfigProperty

The node auto repair configuration for the node group.

Namespace: Amazon.CDK.AWS.EKSv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnNodegroup.INodeRepairConfigProperty
Syntax (vb)
Public Interface CfnNodegroup.INodeRepairConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-noderepairconfig.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.EKSv2;

             var nodeRepairConfigProperty = new NodeRepairConfigProperty {
                 Enabled = false,
                 MaxParallelNodesRepairedCount = 123,
                 MaxParallelNodesRepairedPercentage = 123,
                 MaxUnhealthyNodeThresholdCount = 123,
                 MaxUnhealthyNodeThresholdPercentage = 123,
                 NodeRepairConfigOverrides = new [] { new NodeRepairConfigOverridesProperty {
                     MinRepairWaitTimeMins = 123,
                     NodeMonitoringCondition = "nodeMonitoringCondition",
                     NodeUnhealthyReason = "nodeUnhealthyReason",
                     RepairAction = "repairAction"
                 } }
             };

Synopsis

Properties

Enabled

Specifies whether to enable node auto repair for the node group.

MaxParallelNodesRepairedCount

Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a count of unhealthy nodes.

MaxParallelNodesRepairedPercentage

Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a percentage of unhealthy nodes.

MaxUnhealthyNodeThresholdCount

Specify a count threshold of unhealthy nodes, above which node auto repair actions will stop.

MaxUnhealthyNodeThresholdPercentage

Specify a percentage threshold of unhealthy nodes, above which node auto repair actions will stop.

NodeRepairConfigOverrides

Specify granular overrides for specific repair actions.

Properties

Enabled

Specifies whether to enable node auto repair for the node group.

object? Enabled { get; }
Property Value

object

Remarks

Node auto repair is disabled by default.

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

Type union: either bool or IResolvable

MaxParallelNodesRepairedCount

Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a count of unhealthy nodes.

double? MaxParallelNodesRepairedCount { get; }
Property Value

double?

Remarks

This gives you finer-grained control over the pace of node replacements. When using this, you cannot also set maxParallelNodesRepairedPercentage at the same time.

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

MaxParallelNodesRepairedPercentage

Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a percentage of unhealthy nodes.

double? MaxParallelNodesRepairedPercentage { get; }
Property Value

double?

Remarks

This gives you finer-grained control over the pace of node replacements. When using this, you cannot also set maxParallelNodesRepairedCount at the same time.

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

MaxUnhealthyNodeThresholdCount

Specify a count threshold of unhealthy nodes, above which node auto repair actions will stop.

double? MaxUnhealthyNodeThresholdCount { get; }
Property Value

double?

Remarks

When using this, you cannot also set maxUnhealthyNodeThresholdPercentage at the same time.

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

MaxUnhealthyNodeThresholdPercentage

Specify a percentage threshold of unhealthy nodes, above which node auto repair actions will stop.

double? MaxUnhealthyNodeThresholdPercentage { get; }
Property Value

double?

Remarks

When using this, you cannot also set maxUnhealthyNodeThresholdCount at the same time.

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

NodeRepairConfigOverrides

Specify granular overrides for specific repair actions.

object? NodeRepairConfigOverrides { get; }
Property Value

object

Remarks

These overrides control the repair action and the repair delay time before a node is considered eligible for repair. If you use this, you must specify all the values.

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

Type union: either IResolvable or (either IResolvable or CfnNodegroup.INodeRepairConfigOverridesProperty)[]

Back to top Generated by DocFX