# Cluster API Provider Hetzner

> Manage Kubernetes clusters on Hetzner, fully declarative, Kubernetes-native and with self-healing

Source: https://talira.ai/catalog/cluster-api-provider-hetzner-09a8sex5
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure
- Categories: [infrastructure / kubernetes / provisioning](https://talira.ai/categories/infrastructure/kubernetes/provisioning), [infrastructure / kubernetes / cluster lifecycle](https://talira.ai/categories/infrastructure/kubernetes/cluster-lifecycle), [infrastructure / kubernetes](https://talira.ai/categories/infrastructure/kubernetes)
- Platforms: kubernetes[^6]
- Licence: Apache-2.0[^4]
- Pricing: Free and open source[^4][^5]
- Free tier: yes[^4][^5]
- Self-hostable: yes[^6][^7]
- API: yes[^7][^8]
- Backed by: [Syself](https://talira.ai/orgs/syself.md)

Cluster API Provider Hetzner (CAPH) is the [Cluster API](https://talira.ai/catalog/cluster-api-cfvvvkmf.md) infrastructure provider for [Hetzner Cloud](https://talira.ai/catalog/hetzner-cloud-4enwj8t9.md) servers and Hetzner's bare metal (Robot) servers, maintained by Syself and the community; it isn't an official Hetzner project. It adds custom resources such as HetznerCluster, HCloudMachineTemplate and HetznerBareMetalHost, so a management cluster (often a local [kind](https://talira.ai/catalog/kind-m626m2jn.md) cluster at first) creates, heals and upgrades [kubeadm](https://talira.ai/catalog/kubeadm-5rerw02a.md)-based workload clusters, with control planes on cloud or bare metal. Nodes boot from an image you supply with a container runtime, kubelet and kubeadm, such as a Hetzner snapshot built with [Packer](https://talira.ai/catalog/packer-4cs1wkxg.md). Its remediation templates reboot an unhealthy machine before Cluster API replaces it, and a CSR controller signs kubelet serving certificates. Syself sells [Syself Autopilot](https://talira.ai/catalog/syself-autopilot-m7x0hkv5.md) as the managed version.

## Links

- Website: https://syself.com/docs/caph/getting-started/introduction
- GitHub: https://github.com/syself/cluster-api-provider-hetzner
- Docs: https://syself.com/docs/caph/getting-started/introduction

## Problems it solves

- run self-managed Kubernetes on Hetzner Cloud with every cluster defined as Kubernetes objects
- use Hetzner dedicated bare metal servers as Kubernetes control plane and worker nodes
- put the control plane on Hetzner Cloud VMs and the workers on bare metal in one Kubernetes cluster
- automatically reboot, and then replace, a Hetzner server whose Kubernetes node stops responding
- replace a dead control plane node on Hetzner without rebuilding the cluster by hand
- provision the Hetzner servers behind our Kubernetes clusters from a GitOps repo instead of the console
- boot Kubernetes nodes on Hetzner from my own hardened snapshot image
- install my own OS image on Hetzner Robot machines automatically when they join a Kubernetes cluster
- get kubelet serving certificates signed on Hetzner nodes so metrics-server can run securely
- reuse a fixed set of Hetzner servers on a favourable plan when a Kubernetes node pool scales, instead of creating new ones
- keep fixed node names on Hetzner bare metal so local storage survives reprovisioning
- run several Kubernetes clusters in the same Hetzner Cloud project without them stepping on each other
- upgrade the Kubernetes version of clusters on Hetzner by rolling out fresh machines

## Features

- Hetzner Cloud servers and Hetzner Robot bare metal servers as Cluster API Machines
- Bare metal flavors: bare metal control planes and workers, or HCloud control planes with bare metal workers
- HCloudRemediationTemplate and HetznerBareMetalRemediationTemplate: reboot an unhealthy machine (retry limit and timeout) before it's replaced
- Skips the reboot and replaces the machine right away when its Node is already gone
- Node images from Hetzner snapshots (built by hand, with Packer or via the API), selected by name or label; bare metal via installimage and an image URL or OCI artifact
- CSR controller that checks DNS names and IPs before approving kubelet serving certificates
- Server recycling: reuse labelled existing Hetzner Cloud servers, rebuilt with the machine's bootstrap data
- Constant hostnames for bare metal servers
- Multi-tenancy: several clusters in one Hetzner Cloud project, kept apart by labels
- Backs off per object when Hetzner Cloud or Robot rate limits are hit
- Installed with clusterctl init --infrastructure hetzner; flavors generated with clusterctl generate cluster
- Syncs the hcloud token secret into the workload cluster for Syself's or Hetzner's cloud controller manager

## Limitations

- Doesn't buy Hetzner dedicated servers for you: bare metal servers must be purchased manually in Hetzner Robot before a cluster can use them[^1]
- Doesn't ship production node images: you build one with a container runtime, kubelet and kubeadm (e.g. a Packer snapshot) or install them at boot[^2][^3]

## Capabilities

- Has an API: plan not known

## Trust

Overall: 0.63 out of 1.
Signals: maintenance 0.95, adoption 0.61, momentum 0.39, community 0.70, backing 0.30, extensibility 0.20.

- last commit 5 days ago
- 52 commits in the last 90 days
- latest release v1.1.12 10 days ago
- 1.1k GitHub stars
- 56 contributors
- backed by Syself

## Related

- Works with [Cluster API](https://talira.ai/catalog/cluster-api-cfvvvkmf.md)
- Works with [Hetzner Cloud](https://talira.ai/catalog/hetzner-cloud-4enwj8t9.md)

## Alternatives

- [kube-hetzner](https://talira.ai/catalog/kube-hetzner-kf7d431y.md): Optimized and maintenance-free Kubernetes on Hetzner Cloud in one command
- [hetzner-k3s](https://talira.ai/catalog/hetzner-k3s-j3zwptt1.md): The easiest and fastest way to create production-ready Kubernetes clusters on Hetzner Cloud
- [Cloudfleet](https://talira.ai/catalog/cloudfleet-hev0pmt3.md): Managed Kubernetes from datacenter to cloud to edge
- [Syself Autopilot](https://talira.ai/catalog/syself-autopilot-m7x0hkv5.md): Fully managed Kubernetes on your own Hetzner servers
- [kOps](https://talira.ai/catalog/kops-pbn3fvwv.md): The easiest way to get a production grade Kubernetes cluster up and running

## Sources

[^1]: https://syself.com/docs/caph/topics/baremetal/introduction (checked 19 Nov 2026)
[^2]: https://github.com/syself/cluster-api-provider-hetzner (checked 19 Nov 2026)
[^3]: https://syself.com/docs/caph/topics/node-image (checked 19 Nov 2026)
[^4]: https://github.com/syself/cluster-api-provider-hetzner/blob/main/LICENSE (checked 19 Nov 2026)
[^5]: https://syself.com/compare/managed-kubernetes-on-hetzner-compared (checked 19 Nov 2026)
[^6]: https://syself.com/docs/caph/getting-started/quickstart/management-cluster-setup (checked 19 Nov 2026)
[^7]: https://syself.com/docs/caph/getting-started/introduction (checked 19 Nov 2026)
[^8]: https://syself.com/docs/caph/reference/hcloud-remediation-template (checked 19 Nov 2026)
