github.com/argoproj/argo-cd/v2@v2.10.9/resource_customizations/cluster.x-k8s.io/MachineHealthCheck/testdata/healthy.yaml (about)

     1  apiVersion: cluster.x-k8s.io/v1beta1
     2  kind: MachineHealthCheck
     3  metadata:
     4    labels:
     5      cluster.x-k8s.io/cluster-name: test
     6    name: test-node-unhealthy-5m
     7  spec:
     8    clusterName: test
     9    maxUnhealthy: 100%
    10    nodeStartupTimeout: 10m0s
    11    selector:
    12      matchLabels:
    13        cluster.x-k8s.io/deployment-name: test-md-workers-0
    14    unhealthyConditions:
    15    - status: Unknown
    16      timeout: 5m
    17      type: Ready
    18    - status: "False"
    19      timeout: 5m
    20      type: Ready
    21  status:
    22    conditions:
    23    - lastTransitionTime: "2022-10-07T10:33:46Z"
    24      status: "True"
    25      type: RemediationAllowed
    26    currentHealthy: 3
    27    expectedMachines: 3
    28    observedGeneration: 3
    29    remediationsAllowed: 1
    30    targets:
    31    - test-md-workers-0-76f7db5786-8nl6m
    32    - test-md-workers-0-76f7db5786-jjzvf
    33    - test-md-workers-0-76f7db5786-l4vfb