Can we disable the health check for a bare-metal pool?
Yes. To disable node auto-repair for a bare-metal pool, set healthCheck.enabled: false on the pool in the Cluster object. In the Cluster Configurator you set Health Check to Off for the pool. For the manifest, see Turn off health checks for a pool.
Syself Autopilot then no longer reboots or reinstalls nodes in that pool. A failed kubelet or container runtime is still restarted on the node. The nodes keep running, and the change replaces no node.
A reinstall rewrites the OS disk, including /var, and leaves the data disks as they are. Turn the health check off for pools where an automatic reinstall would cost you data or a long resync, for example storage that keeps its replicas under /var, as in Longhorn and node replacement.
With the health check off, this work is yours:
- A failed node stays in the cluster until you delete its Machine.
- Maintenance mode on a host no longer deletes its Machine. You delete it yourself.
- Alert on the node conditions of the pool, so you notice a failed node. The rules are in Platform alert rules.
To turn automatic repair back on, remove healthCheck from the pool. For planned work on a single node, pause remediation instead.
Related questions
