interface NodeRepairConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EKS.CfnNodegroup.NodeRepairConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseks#CfnNodegroup_NodeRepairConfigProperty |
Java | software.amazon.awscdk.services.eks.CfnNodegroup.NodeRepairConfigProperty |
Python | aws_cdk.aws_eks.CfnNodegroup.NodeRepairConfigProperty |
TypeScript | aws-cdk-lib » aws_eks » CfnNodegroup » NodeRepairConfigProperty |
The node auto repair configuration for the node group.
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 nodeRepairConfigProperty: eks.CfnNodegroup.NodeRepairConfigProperty = {
enabled: false,
maxParallelNodesRepairedCount: 123,
maxParallelNodesRepairedPercentage: 123,
maxUnhealthyNodeThresholdCount: 123,
maxUnhealthyNodeThresholdPercentage: 123,
nodeRepairConfigOverrides: [{
minRepairWaitTimeMins: 123,
nodeMonitoringCondition: 'nodeMonitoringCondition',
nodeUnhealthyReason: 'nodeUnhealthyReason',
repairAction: 'repairAction',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled? | boolean | IResolvable | Specifies whether to enable node auto repair for the node group. |
| max | number | Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a count of unhealthy nodes. |
| max | number | Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a percentage of unhealthy nodes. |
| max | number | Specify a count threshold of unhealthy nodes, above which node auto repair actions will stop. |
| max | number | Specify a percentage threshold of unhealthy nodes, above which node auto repair actions will stop. |
| node | IResolvable | (IResolvable | Node)[] | Specify granular overrides for specific repair actions. |
enabled?
Type:
boolean | IResolvable
(optional)
Specifies whether to enable node auto repair for the node group.
Node auto repair is disabled by default.
maxParallelNodesRepairedCount?
Type:
number
(optional)
Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a count of unhealthy nodes.
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?
Type:
number
(optional)
Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a percentage of unhealthy nodes.
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?
Type:
number
(optional)
Specify a count threshold of unhealthy nodes, above which node auto repair actions will stop.
When using this, you cannot also set MaxUnhealthyNodeThresholdPercentage at the same time.
maxUnhealthyNodeThresholdPercentage?
Type:
number
(optional)
Specify a percentage threshold of unhealthy nodes, above which node auto repair actions will stop.
When using this, you cannot also set MaxUnhealthyNodeThresholdCount at the same time.
nodeRepairConfigOverrides?
Type:
IResolvable | (IResolvable | Node)[]
(optional)
Specify granular overrides for specific repair actions.
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.

.NET
Go
Java
Python
TypeScript