Manually deleting MachineHealthCheck (MHC) resources from a TKG cluster results in Cluster API (CAPI) controllers automatically recreating them.
TKG 2.5.4
Cluster API (CAPI) controllers actively reconcile cluster state based on the parent cluster resource topology. Manual deletion of child MHC objects is overridden by the parent topology specification where MHC is enabled by default or previously configured.
kubectl edit cluster -n <namespace> <name>spec.topology.controlPlane:spec: topology: controlPlane: machineHealthCheck: enable: falsespec.topology.workers.machineDeployments:spec: topology: workers: machineDeployments: - name: md01 machineHealthCheck: enable: falseModifying the cluster resource updates the desired state within the CAPI topology. Post-modification, CAPI controllers will successfully reconcile the new desired state (enable: false) and automatically remove the associated MachineHealthCheck child resources persistently.