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
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
Remarks
Node auto repair is disabled by default.
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
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.
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
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.
MaxUnhealthyNodeThresholdCount
Specify a count threshold of unhealthy nodes, above which node auto repair actions will stop.
double? MaxUnhealthyNodeThresholdCount { get; }
Property Value
Remarks
When using this, you cannot also set maxUnhealthyNodeThresholdPercentage at the same time.
MaxUnhealthyNodeThresholdPercentage
Specify a percentage threshold of unhealthy nodes, above which node auto repair actions will stop.
double? MaxUnhealthyNodeThresholdPercentage { get; }
Property Value
Remarks
When using this, you cannot also set maxUnhealthyNodeThresholdCount at the same time.
NodeRepairConfigOverrides
Specify granular overrides for specific repair actions.
object? NodeRepairConfigOverrides { get; }
Property Value
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.
Type union: either IResolvable or (either IResolvable or CfnNodegroup.INodeRepairConfigOverridesProperty)[]