K8sCalc

kubernetes

Hetzner k3s Cost Calculator

Calculate the monthly cost of running a k3s cluster on Hetzner Cloud. k3s uses 3× less RAM than full Kubernetes — smaller servers mean lower costs.

k3s on Hetzner: Cost-Optimized Kubernetes

k3s is the best choice for most Hetzner deployments. Its lower resource overhead means you can start with smaller (cheaper) servers and grow as needed.

Cost Comparison: k3s vs kubeadm on Hetzner

Setupk3s costkubeadm costSaving
Minimal single-node€3.99/mo (cx23)€6.49/mo (cx33)38%
3-server HA3× €3.99 = €11.973× €6.49 = €19.4738%
With 3 agents (cx33)+ €19.47+ €19.47Same workers

k3s saves on control plane costs — workers are the same regardless.

k3s HA Without External LB

k3s embedded etcd mode (3+ servers) gives you:

  • Quorum-based leader election
  • Automatic failover if a server node fails
  • No HAProxy VMs needed

You still need a stable endpoint for kubectl — use a Hetzner Floating IP assigned to the current leader via a Keepalived-like script.

Recommended Hetzner k3s Setup

Single node (dev):

  • 1× cx23 (server + agent combined) = €3.99/mo

Small production:

  • 1× cx23 k3s server
  • 2–3× cx33 k3s agents
  • Total: ~€17–24/mo

HA production:

  • 3× cx23 k3s servers (embedded etcd)
  • 3× cx43 k3s agents
  • Total: ~€48/mo

See the [k3s Resource Calculator](/calculators/k3s-resource-calculator) for RAM/CPU planning.

Frequently Asked Questions

How much does a k3s cluster on Hetzner cost?

A minimal single-server k3s setup (1× cx23 server node + 2× cx33 agent nodes) costs €16.97/mo on Hetzner. A 3-server HA k3s cluster (3× cx23 + 3× cx33 agents) costs €35.94/mo — with no external LB needed since k3s handles HA internally via embedded etcd.

Why use k3s instead of kubeadm on Hetzner?

k3s installs in under 5 minutes (vs 30–60 for kubeadm), uses 512 MB RAM for the server vs 1.5 GB for kubeadm, and handles embedded etcd HA without external etcd nodes. On Hetzner, this means you can run an HA control plane on cx23 (€3.99/mo) instead of cx33 or cx43.

Does k3s HA require external load balancers on Hetzner?

No. k3s embedded etcd HA uses a cluster VIP or you can point to any server IP — if that server fails, clients retry other servers. For a stable endpoint, you can use a Hetzner Floating IP assigned to the active server via a simple script, without needing HAProxy VMs.

Can I run production workloads on k3s on Hetzner?

Yes. Many companies run production k3s on Hetzner. k3s is CNCF-certified, supports Helm charts, Longhorn storage, Traefik ingress, and the full Kubernetes API. The main constraint: k3s uses SQLite by default for single-server setups, but embedded etcd for multi-server HA — both are production-capable.

Related Tools

Related Guides