sigs.k8s.io/cluster-api@v1.7.1/docs/proposals/images/machinepool-machines/machinepool-machine-reconcile.plantuml (about)

     1  @startuml machinepool-machine-reconcile
     2  :begin reconciling Machine;
     3  if (is deleting?) then (no)
     4    :ensure InfraMachinePoolMachine has ownerRef to Machine;
     5  else (yes)
     6    :cordon and drain node;
     7    :delete InfraMachinePoolMachine;
     8    :wait for InfraMachinePoolMachine to be deleted;
     9    :delete node;
    10  endif
    11  :continue reconciling Machine;
    12  stop
    13  @enduml