sigs.k8s.io/cluster-api@v1.7.1/docs/proposals/images/machine-health-check/mhc.plantuml (about)

     1  @startuml
     2  start;
     3  :Machine Health Check controller;
     4  repeat
     5    repeat
     6      :Watch MHCs;
     7      :Find unhealthy targets: Need remediation or going towards timeout;
     8    repeat while (unhealthyTargets > maxUnhealthy) is (yes)
     9    -> no;
    10  repeat while (API server machine deletion requests for machines that need remediation) is (requeue with minTime to timeout delay)
    11  
    12  -[#blue,dashed]-> Out of band;
    13  #LightBlue:The machine owner controller watches deletion timestamp.
    14  Reconciles towards desired number of replicas.
    15  The process to create a new machine/node starts;
    16  #LightBlue:The machine controller drains the unhealthy node;
    17  #LightBlue:The machine controller provider deletes the unhealthy instance;
    18  #LightBlue:The machine controller removes the unhealthy machine finalizer;
    19  #LightBlue:The API server removes the unhealthy machine resource;
    20  @enduml