kubernetes
Kubernetes Cluster Cost Calculator
Calculate the monthly cost of running a self-managed Kubernetes cluster on Hetzner Cloud, Vultr, or DigitalOcean. Choose server types for control planes, workers, and load balancers with HA mode.
VPS & Cloud Hosting
We earn a commission when you sign up through the links below — at no extra cost to you.
Kubernetes Cluster Architecture on Hetzner Cloud
Hetzner Cloud is one of the most cost-effective platforms for self-managed Kubernetes clusters. A full HA production setup typically costs 4–10× less than managed Kubernetes on AWS or GKE.
Recommended Production Architecture
- ›3× Control Plane nodes (cpx32: 4 vCPU, 8 GB RAM) — etcd + kube-apiserver + kube-scheduler
- ›3+ Worker nodes (cpx42: 8 vCPU, 16 GB RAM) — your actual workloads
- ›2× HAProxy load balancer nodes (cpx22) with Keepalived Floating IP — HA for K8s API + Ingress
- ›1 Private network (10.20.0.0/24) — internal cluster communication
Why 3 Control Planes?
etcd requires a quorum of (n/2)+1 nodes to elect a leader and accept writes. With 3 nodes, you tolerate 1 failure. With 5, you tolerate 2. Running 2 control planes gives you no fault tolerance — if one fails, etcd loses quorum and the entire cluster becomes read-only.
Server Type Guide (eu-central, verified 2026-05)
| Type | vCPU | RAM | Monthly | Use Case |
|---|---|---|---|---|
| cx23 | 2 shared | 4 GB | €5.49 | LB / bastion |
| cx33 | 4 shared | 8 GB | €8.49 | Control plane (budget) |
| cax21 | 4 ARM | 8 GB | €10.49 | Control plane (ARM) |
| cx43 | 8 shared | 16 GB | €15.99 | Worker (standard) |
| cax31 | 8 ARM | 16 GB | €20.99 | Worker (ARM) |
| cx53 | 16 shared | 32 GB | €29.49 | Worker (large) |
| ccx23 | 4 ded. | 16 GB | €85.99 | Worker (dedicated CPU) |
| ccx33 | 8 ded. | 32 GB | €138.49 | Worker (dedicated, heavy) |
Cost Optimization Tips
- ›Use shared x86 (cx) rather than ARM (cax) if pure cost is the priority — cax currently costs more per core on Hetzner. Pick ARM only where its performance-per-core actually beats cx for your workload.
- ›Enable Longhorn with S3 backup instead of using Hetzner Volumes (cheaper at scale)
- ›Use the node autoscaler to scale workers down during off-peak hours
Worked example: K8s Cluster Cost
What the calculator returns for its default inputs — change any value in the form above to recalculate.
| Input | Value |
|---|---|
| Cloud Provider | DigitalOcean — $/mo, developer-friendly |
| Control Plane Server Type | s-2vcpu-4gb — 2 vCPU / 4 GB ($24/mo) — Basic |
| Control Plane Count | 3 |
| Worker Node Server Type | s-4vcpu-8gb — 4 vCPU / 8 GB ($48/mo) — Basic |
| Worker Node Count | 3 |
| Load Balancer Nodes (HA) | Yes — dedicated HAProxy LB nodes |
| Load Balancer Server Type | s-2vcpu-2gb — 2 vCPU / 2 GB ($18/mo) — Basic |
| Load Balancer Node Count | 2 |
| Bastion / Management Node | Yes — dedicated bastion node |
| Bastion Server Type | s-2vcpu-2gb — 2 vCPU / 2 GB ($18/mo) — Basic |
| Result | Value |
|---|---|
| Monthly Cost | $270.00 |
| Annual Estimate | $3240 |
| Control Planes (3× s-2vcpu-4gb — 2 vCPU / 4 GB) | $72.00 |
| Workers (3× s-4vcpu-8gb — 4 vCPU / 8 GB) | $144.00 |
| Load Balancers (2× s-2vcpu-2gb — 2 vCPU / 2 GB) | $36.00 |
| Bastion (1× s-2vcpu-2gb — 2 vCPU / 2 GB) | $18.00 |
| Network / Floating IP (est.) | $0.00 |
| Total cluster vCPUs | 18 |
| Total cluster RAM | 36 GB |
Key Terms
Full glossary →kubeadm
A tool for bootstrapping Kubernetes clusters. It automates the setup of control plane components and joining worker nodes, following Kubernetes best practices.
etcd
A distributed key-value store used by Kubernetes to store all cluster state and configuration. etcd is the single source of truth for the entire cluster.
k3s
A lightweight Kubernetes distribution by Rancher. k3s packages the entire Kubernetes control plane into a single binary under 100MB, ideal for edge, IoT, and small VPS deployments.
Helm
A package manager for Kubernetes. Helm charts bundle Kubernetes manifests into reusable packages with configurable values, versioned and published to chart repositories.
Frequently Asked Questions
How much does a production Kubernetes cluster on Hetzner cost?
A typical production cluster with 3 control planes (cx33 — €8.49/mo each), 3 workers (cx43 — €15.99/mo each), and 2 HAProxy load balancers (cx23 — €5.49/mo each) costs approximately €84/month on Hetzner Cloud — significantly cheaper than AWS EKS or GKE for equivalent specs.
Should I use ARM (cax) or x86 (cpx/cx) servers for Kubernetes?
At current Hetzner pricing, ARM (cax) servers actually cost 10–30% more per core than the equivalent shared x86 (cx) tier — check the live prices before assuming ARM is cheaper. ARM is fully supported by Kubernetes and can still be worth it for better performance-per-core on multi-arch workloads. Use x86 if you have workloads with x86-only container images or dependencies. Most modern images are multi-arch.
How many control plane nodes do I need for HA?
3 control plane nodes is the standard for production HA. etcd requires an odd number of members for quorum (3 tolerates 1 failure, 5 tolerates 2 failures). Never use 2 or 4.
Do I need dedicated load balancer nodes?
For production, yes. Dedicated HAProxy VMs with Keepalived provide a stable Floating IP for the K8s API and Ingress, surviving control plane restarts. For dev clusters, you can skip this and use a single control plane with NodePort.
Related Tools
K8s Node Sizing
Calculate the right number and size of Kubernetes worker nodes for your workloads. Supports Hetzner Cloud and Vultr with verified pricing.
Longhorn Storage
Calculate the total storage required for Longhorn distributed block storage, including replica overhead, snapshot retention, and S3 backup sizing on Hetzner Object Storage.
Observability Sizing
Size your Prometheus, Grafana, Loki, and Alertmanager stack. Calculate RAM, disk, and CPU requirements based on your cluster size and retention period.
Hetzner K8s Cost
Calculate the exact monthly cost of a Kubernetes cluster on Hetzner Cloud using verified server pricing — cx23, cx33, cx43, cax21, cax31, ccx23.
AI VRAM
Calculate the GPU VRAM required to run any LLM locally or on cloud GPU. Supports all quantization levels — FP32, FP16, INT8, INT4, and GGUF variants.
GPU Cloud Cost
Compare GPU cloud rental costs across RunPod, Lambda Labs, and Vast.ai. Calculate monthly spend for LLM inference, fine-tuning, and ML training workloads.
Related Generators
Related Comparisons
Related Guides
observability
Kubernetes Monitoring Stack Guide: Prometheus, Loki, Grafana, and Tempo
A complete guide to deploying the metrics, logs, traces, and dashboards stack on Kubernetes — including resource sizing, Helm configs, and alert rule generation.
kubernetes
CI/CD for Kubernetes with GitHub Actions: A Complete Guide (2026)
A practical walkthrough of building a full GitHub Actions pipeline that builds a container image, pushes it to a registry, and deploys to Kubernetes — with secrets handling, rollback, and Helm support.
networking
Kubernetes Ingress Controllers in 2026: Nginx, Traefik, HAProxy, and Caddy
A technical comparison of the four most popular Kubernetes ingress controllers — what they do well, where they fall short, and which to pick for your workload.