sigs.k8s.io/cluster-api-provider-azure@v1.14.3/test/e2e/data/infrastructure-azure/v1beta1/cluster-template-kcp-remediation/mhc.yaml (about) 1 --- 2 # MachineHealthCheck object with 3 # - a selector that targets all the machines with label cluster.x-k8s.io/control-plane="" 4 # - unhealthyConditions triggering remediation after 10s the condition is set 5 apiVersion: cluster.x-k8s.io/v1beta1 6 kind: MachineHealthCheck 7 metadata: 8 name: "${CLUSTER_NAME}-mhc-0" 9 spec: 10 clusterName: "${CLUSTER_NAME}" 11 maxUnhealthy: 100% 12 selector: 13 matchLabels: 14 cluster.x-k8s.io/control-plane: "" 15 unhealthyConditions: 16 - type: e2e.remediation.condition 17 status: "False" 18 timeout: 10s