File tree Expand file tree Collapse file tree
examples/MachineHealthCheck Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- apiVersion : cluster.x-k8s.io/v1beta1
2+ apiVersion : cluster.x-k8s.io/v1beta2
33kind : MachineHealthCheck
44metadata :
55 name : " ${CLUSTER_NAME}-control-plane-unhealthy-5m"
66spec :
77 clusterName : " ${CLUSTER_NAME}"
8- maxUnhealthy : 100%
9- nodeStartupTimeout : 15m
108 selector :
119 matchLabels :
1210 cluster.x-k8s.io/control-plane : " "
13- unhealthyConditions :
14- - type : Ready
15- status : Unknown
16- timeout : 300s
17- - type : Ready
18- status : " False"
19- timeout : 300s
11+ checks :
12+ nodeStartupTimeoutSeconds : 900
13+ unhealthyNodeConditions :
14+ - type : Ready
15+ status : Unknown
16+ timeoutSeconds : 300
17+ - type : Ready
18+ status : " False"
19+ timeoutSeconds : 300
20+ remediation :
21+ triggerIf :
22+ unhealthyLessThanOrEqualTo : " 100%"
Original file line number Diff line number Diff line change 11---
2- apiVersion : cluster.x-k8s.io/v1beta1
2+ apiVersion : cluster.x-k8s.io/v1beta2
33kind : MachineHealthCheck
44metadata :
55 name : " ${CLUSTER_NAME}-worker-unhealthy-5m"
66spec :
77 clusterName : " ${CLUSTER_NAME}"
8- maxUnhealthy : 40%
9- nodeStartupTimeout : 15m
108 selector :
119 matchLabels :
1210 node-role.kubernetes.io/node : " "
13- unhealthyConditions :
14- - type : Ready
15- status : Unknown
16- timeout : 300s
17- - type : Ready
18- status : " False"
19- timeout : 300s
11+ checks :
12+ nodeStartupTimeoutSeconds : 900
13+ unhealthyNodeConditions :
14+ - type : Ready
15+ status : Unknown
16+ timeoutSeconds : 300
17+ - type : Ready
18+ status : " False"
19+ timeoutSeconds : 300
20+ remediation :
21+ triggerIf :
22+ unhealthyLessThanOrEqualTo : " 40%"
You can’t perform that action at this time.
0 commit comments