NodeRepairConfigProperty Struct
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_v2 as eks_v2 } from 'aws-cdk-lib';
const nodeRepairConfigProperty: eks_v2.CfnNodegroup.NodeRepairConfigProperty = {
enabled: false,
maxParallelNodesRepairedCount: 123,
maxParallelNodesRepairedPercentage: 123,
maxUnhealthyNodeThresholdCount: 123,
maxUnhealthyNodeThresholdPercentage: 123,
nodeRepairConfigOverrides: [{
minRepairWaitTimeMins: 123,
nodeMonitoringCondition: 'nodeMonitoringCondition',
nodeUnhealthyReason: 'nodeUnhealthyReason',
repairAction: 'repairAction',
}],
};
Properties
enabledoptionalboolean | IResolvableenabledoptionaltyping.Union[bool, IResolvable]enabledoptionalBooleanEnabledoptionalboolEnabledoptionalinterface{}#Node auto repair is disabled by default.
maxParallelNodesRepairedCountoptionalnumbermax_parallel_nodes_repaired_countoptionalint | floatmaxParallelNodesRepairedCountoptionalNumberMaxParallelNodesRepairedCountoptionaldoubleMaxParallelNodesRepairedCountoptional*float64#This gives you finer-grained control over the pace of node replacements. When using this, you cannot also set maxParallelNodesRepairedPercentage at the same time.
maxParallelNodesRepairedPercentageoptionalnumbermax_parallel_nodes_repaired_percentageoptionalint | floatmaxParallelNodesRepairedPercentageoptionalNumberMaxParallelNodesRepairedPercentageoptionaldoubleMaxParallelNodesRepairedPercentageoptional*float64#This gives you finer-grained control over the pace of node replacements. When using this, you cannot also set maxParallelNodesRepairedCount at the same time.
maxUnhealthyNodeThresholdCountoptionalnumbermax_unhealthy_node_threshold_countoptionalint | floatmaxUnhealthyNodeThresholdCountoptionalNumberMaxUnhealthyNodeThresholdCountoptionaldoubleMaxUnhealthyNodeThresholdCountoptional*float64#When using this, you cannot also set maxUnhealthyNodeThresholdPercentage at the same time.
maxUnhealthyNodeThresholdPercentageoptionalnumbermax_unhealthy_node_threshold_percentageoptionalint | floatmaxUnhealthyNodeThresholdPercentageoptionalNumberMaxUnhealthyNodeThresholdPercentageoptionaldoubleMaxUnhealthyNodeThresholdPercentageoptional*float64#When using this, you cannot also set maxUnhealthyNodeThresholdCount at the same time.
nodeRepairConfigOverridesoptionalIResolvable | IResolvable | CfnNodegroup.NodeRepairConfigOverridesProperty[]node_repair_config_overridesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NodeRepairConfigOverridesProperty]]]nodeRepairConfigOverridesoptionalIResolvableNodeRepairConfigOverridesoptionalIResolvableNodeRepairConfigOverridesoptionalinterface{}#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.