Disabling machine health checks on bare metal
To disable machine health checks for the managed cluster nodes, modify the NodePool resource.
Procedure
-
Disable machine health checks by setting the
spec.management.autoRepairfield tofalsein theNodePoolresource. Run the following command:$ oc patch nodepool -n <hosted_cluster_namespace> <nodepool_name> -p '{"spec": {"management": {"autoRepair":false}}}' --type=merge -
Verify that the
NodePoolresource is updated with theautoRepair: falsevalue by running the following command:$ oc get nodepool -n <hosted_cluster_namespace> <nodepool_name> -o yaml | grep autoRepair