github.com/vmware/go-vcloud-director/v2@v2.24.0/govcd/cse/4.2/capiyaml_mhc.tmpl (about)

     1  apiVersion: cluster.x-k8s.io/v1beta1
     2  kind: MachineHealthCheck
     3  metadata:
     4    name: "{{.ClusterName}}"
     5    namespace: "{{.TargetNamespace}}"
     6    labels:
     7      clusterctl.cluster.x-k8s.io: ""
     8      clusterctl.cluster.x-k8s.io/move: ""
     9  spec:
    10    clusterName: "{{.ClusterName}}"
    11    maxUnhealthy: "{{.MaxUnhealthyNodePercentage}}"
    12    nodeStartupTimeout: "{{.NodeStartupTimeout}}"
    13    selector:
    14      matchLabels:
    15        cluster.x-k8s.io/cluster-name: "{{.ClusterName}}"
    16    unhealthyConditions:
    17      - type: Ready
    18        status: Unknown
    19        timeout: "{{.NodeUnknownTimeout}}"
    20      - type: Ready
    21        status: "False"
    22        timeout: "{{.NodeNotReadyTimeout}}"