interface NodeRepairConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EKS.Mixins.CfnNodegroupPropsMixin.NodeRepairConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awseks/mixins#CfnNodegroupPropsMixin_NodeRepairConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.eks.mixins.CfnNodegroupPropsMixin.NodeRepairConfigProperty |
Python | aws_cdk.mixins_preview.aws_eks.mixins.CfnNodegroupPropsMixin.NodeRepairConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_eks » mixins » CfnNodegroupPropsMixin » 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 { mixins as eks_mixins } from '@aws-cdk/mixins-preview/aws-eks';
const nodeRepairConfigProperty: eks_mixins.CfnNodegroupPropsMixin.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