Skip to main content

How do placement groups work?

Syself support For release

Hetzner placement groups keep Kubernetes nodes on different physical hosts. Syself Autopilot supports the Hetzner Cloud spread placement group: Hetzner never puts two servers of one group on the same physical machine, so one host failure takes down at most one node per group.

You declare the groups in the Cluster object (hcloudPlacementGroups) and assign one to the control plane and one to each cloud worker pool. You can do both in the Cluster Configurator. Syself Autopilot creates the groups in your Hetzner Cloud project and places new nodes in them. Without a group, Hetzner picks the host for each server, and two control-plane nodes can land on the same one.

Good to know before you use them:

  • A spread group holds at most 10 servers. This is a Hetzner limit. If a pool needs more nodes, split it into several pools and give each its own group.
  • Placement groups apply to Hetzner Cloud servers only. Bare-metal servers are separate physical machines already.
  • A placement group decides which host a node runs on. To decide which node a pod runs on, see Steer workload placement.

The variables and a full example are in Spread nodes with placement groups.

Still stuck?

Prepare your case, then email us.