# hetzner-k3s

> The easiest and fastest way to create production-ready Kubernetes clusters on Hetzner Cloud

Source: https://talira.ai/catalog/hetzner-k3s-j3zwptt1
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [infrastructure / kubernetes / provisioning](https://talira.ai/categories/infrastructure/kubernetes/provisioning), [infrastructure / kubernetes](https://talira.ai/categories/infrastructure/kubernetes)
- Platforms: macos, linux, cli[^2][^5]
- Licence: MIT[^4]
- Pricing: Free and open source[^4][^5]
- Free tier: yes[^4][^5]
- Self-hostable: yes[^5][^6]
- Creator: Vito Botta, creator and sole maintainer of hetzner-k3s
- Sponsors: SprintPulse, Zelkor

hetzner-k3s is a single-binary CLI, written in Crystal by Vito Botta, that creates [K3s](https://talira.ai/catalog/k3s-mr4x8s65.md) clusters on [Hetzner Cloud](https://talira.ai/catalog/hetzner-cloud-4enwj8t9.md) from one YAML file in a few minutes, with no [Terraform](https://talira.ai/catalog/terraform-zdejdqmx.md), [Packer](https://talira.ai/catalog/packer-4cs1wkxg.md), [Ansible](https://talira.ai/catalog/ansible-cpvqqenm.md) or management cluster, and without sending the Hetzner API token to anyone. `hetzner-k3s create` provisions servers ([Ubuntu](https://talira.ai/catalog/ubuntu-3yhk0xfs.md) 24.04 by default, configurable), a private network, firewall and API load balancer, and installs Hetzner's cloud controller manager and CSI driver, [system-upgrade-controller](https://talira.ai/catalog/system-upgrade-controller-d1j5br3j.md) and the [Cluster Autoscaler](https://talira.ai/catalog/cluster-autoscaler-2mcm47jv.md) for worker pools. An HA control plane uses embedded [etcd](https://talira.ai/catalog/etcd-zdq64wjj.md) on an odd number of masters, optionally across locations; `hetzner-k3s upgrade` rolls out a new k3s version. MIT, maintained by one developer.

## Links

- Website: https://hetzner-k3s.com/
- GitHub: https://github.com/vitobotta/hetzner-k3s
- Docs: https://vitobotta.github.io/hetzner-k3s/

## Problems it solves

- create a production-ready Kubernetes cluster on Hetzner Cloud in a couple of minutes from my laptop
- spin up k3s on Hetzner without learning Terraform or running a management cluster
- keep my Hetzner API token on my own machine instead of giving it to a managed Kubernetes service
- describe a whole Kubernetes cluster on Hetzner in one YAML file I can commit to git
- run three Kubernetes masters with embedded etcd across Falkenstein, Nuremberg and Helsinki
- scale Hetzner worker pools automatically with demand between a minimum and maximum node count
- upgrade k3s on every node in my Hetzner cluster one at a time with a single command
- build a 500-node Kubernetes cluster on Hetzner Cloud quickly
- get Hetzner load balancers and volumes working in a fresh k3s cluster without manual setup
- spin up throwaway Kubernetes test clusters on cheap Hetzner Arm servers
- back up etcd snapshots of my Hetzner k3s cluster to S3
- run a Hetzner k3s cluster whose nodes have no public IPs
- turn a single-master dev cluster on Hetzner into a highly available one
- pay only for the Hetzner servers, with no Kubernetes platform fee on top

## Features

- One YAML config file and one command (hetzner-k3s create); HCLOUD_TOKEN environment variable supported
- HA control plane with embedded etcd (default datastore) or an external datastore (etcd, PostgreSQL, MySQL)
- Masters across locations for regional clusters (eu-central network zone)
- Etcd snapshot backups to S3
- Installs Hetzner Cloud Controller Manager, Hetzner CSI driver, System Upgrade Controller and Cluster Autoscaler
- Static and autoscaled worker pools with min and max instances, labels and taints
- hetzner-k3s upgrade rolls a new k3s version through masters, then workers, with system-upgrade-controller
- Default image ubuntu-24.04, configurable per pool (e.g. rocky-9, debian), or a custom snapshot
- Flannel or Cilium CNI; Traefik, ServiceLB and metrics-server as optional add-ons
- Private networking by default; Hetzner firewall per cluster; private clusters without a public interface
- Tailscale integration, floating IP egress and an embedded registry mirror option
- x86 and Arm (CAX) instance types; tested with 500 nodes
- reconcile_node_pools drains and deletes nodes when a pool shrinks or is removed

## Limitations

- Doesn't support IPv6-only public networking: with IPv4 off you must run it from a machine on the cluster's private network or VPN[^1]
- No native Windows build: on Windows the docs say to run the Linux binary under WSL[^2]
- Can't spread masters across locations outside the EU: regional clusters are only available in the eu-central network zone[^3]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.69 out of 1.
Signals: maintenance 1.00, adoption 0.71, momentum 0.54, community 0.73, backing 0.35, extensibility 0.20.

- last commit 5 days ago
- 94 commits in the last 90 days
- latest release v2.14.0 5 days ago
- 3.7k GitHub stars
- 65 contributors
- accepts sponsorship (Github)
- created by Vito Botta, creator and sole maintainer of hetzner-k3s
- sponsored by SprintPulse, Zelkor

## Related

- Works with [K3s](https://talira.ai/catalog/k3s-mr4x8s65.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
- [Syself Autopilot](https://talira.ai/catalog/syself-autopilot-m7x0hkv5.md): Fully managed Kubernetes on your own Hetzner servers
- [Cluster API Provider Hetzner](https://talira.ai/catalog/cluster-api-provider-hetzner-09a8sex5.md): Manage Kubernetes clusters on Hetzner, fully declarative, Kubernetes-native and with self-healing
- [kOps](https://talira.ai/catalog/kops-pbn3fvwv.md): The easiest way to get a production grade Kubernetes cluster up and running
- [Edka](https://talira.ai/catalog/edka-gsd7zqc7.md): Kubernetes platform in your own cloud account for apps, databases and agents
- [Cloudfleet](https://talira.ai/catalog/cloudfleet-hev0pmt3.md): Managed Kubernetes from datacenter to cloud to edge

## Sources

[^1]: https://vitobotta.github.io/hetzner-k3s/Troubleshooting/ (checked 19 Nov 2026)
[^2]: https://vitobotta.github.io/hetzner-k3s/Installation/ (checked 19 Nov 2026)
[^3]: https://vitobotta.github.io/hetzner-k3s/Creating_a_cluster/ (checked 19 Nov 2026)
[^4]: https://github.com/vitobotta/hetzner-k3s/blob/main/LICENSE.txt (checked 19 Nov 2026)
[^5]: https://hetzner-k3s.com/ (checked 19 Nov 2026)
[^6]: https://github.com/vitobotta/hetzner-k3s (checked 19 Nov 2026)
