Hetzner bare metal

Hetzner have two offerings primarily:

  1. Hetzner Cloud /Hcloud for virtualized servers
  2. Hetzner Dedicated /Robot for bare metal servers

In this guide, we will focus on creating a cluster from baremetal servers.

Flavors of Hetzner Bare Metal

Now, there are different ways you can use baremetal servers, you can use them as controlplanes or as worker nodes or both. Based on that we have created some templates and those templates are released as flavors in GitHub releases.

These flavors can be consumed using clusterctl tool:

To use bare metal servers for your deployment, you can choose one of the following flavors:

FlavorWhat it does
hetzner-baremetal-control-planes-remediation Uses bare metal servers for control plane nodes and worker nodes, with custom remediation (try to reboot failed machines first).
hetzner-baremetal-control-planes Uses bare metal servers for control plane nodes and worker nodes, with normal remediation (unprovision and recreate failed machines).
hetzner-hcloud-control-planes Uses hcloud servers for control plane nodes and bare metal servers for worker nodes.

In Cluster API terms, remediation is the automatic recovery behavior for failed or unhealthy machines. For bare metal control planes, custom remediation tries a reboot first and only falls back to replacement if needed. Normal remediation directly replaces the failed machine by unprovisioning and recreating it.

note

These flavors are only for demonstration purposes and should not be used in production.

Purchasing Bare Metal Servers

If you want to create a cluster with bare metal servers, you will also need to set up the robot credentials. For setting robot credentials, as described in the reference, you need to purchase bare metal servers beforehand manually.