Can we move the control plane from cloud VMs to bare metal?
Yes. You can move the control plane from cloud VMs to bare metal on a running cluster. Set controlPlane.class to hetznerbaremetal in the Cluster object and select the servers with the controlPlaneHostSelectorBareMetal variable. You can set both in the Cluster Configurator. Syself Autopilot then replaces the control plane one node at a time: a VM is drained and removed, and a bare-metal server is installed and joins in its place.
What you prepare:
- At least three control-plane replicas. A bare-metal control plane does not run with fewer.
- Enough registered servers that match the selector, one for each replica.
- A healthy control plane. It runs one member short during each step, so do not start while a member is unhealthy.
- No Kubernetes upgrade in the same change.
After the move the control plane runs on servers you already have, so replacing or upgrading a control-plane node no longer depends on Hetzner Cloud capacity. If that is why you move, see No servers available.
Follow Bare-metal control planes for the manifest and the steps of the switch. Upgrades after the move need no spare server. More on that in Do bare-metal control-plane nodes need a spare node to upgrade?
Related questions
