Skip to main content

Can we pause remediation during maintenance?

Syself support For release

Yes. To pause node auto-repair during maintenance, set the cluster.x-k8s.io/paused annotation on the Machine in the management cluster:

plaintext
				kubectl annotate machine <machine-name> cluster.x-k8s.io/paused=true
			

While the Machine is paused, Syself Autopilot does not reboot or replace the node. It does not drain or delete it either, even if you scale its pool down. Set the pause before the work starts, because a reboot that already began still finishes. Remove the annotation when you are done, so self-healing covers the node again.

To pause a whole cluster, set spec.paused: true on the Cluster object. This also stops scaling and updates until you set it back to false.

The pause is for planned work on single nodes. To turn automatic repair off for a pool permanently, see Can we disable the health check for a bare-metal pool? For a hardware repair by Hetzner, take the server out with maintenance mode instead, as described in What is the full flow to remove or replace a bare-metal machine?

To check or remove the annotation, use the commands in Pause remediation during maintenance. Before manual work on a control-plane node, read Control-plane and etcd recovery.

Still stuck?

Prepare your case, then email us.