How Machine Deletion Remediation works?

Machine Deletion Remediation (MDR) uses the Machine API to reprovision unhealthy nodes. It was tested with NodeHealthCheck (NHC), which creates a Custom Resource for MDR with information about the unhealthy Node.

MDR follows the annotation on the Node to the associated Machine object, confirms that it has an owning controller (e.g. MachineSetController), that will recreate the Machine once deleted, and then proceeds with the deletion of the Machine.