Book a free call

How Much Does Kubernetes Cost? A Plain Breakdown

Kubernetes itself is free, but running it is not: you pay for worker nodes, storage, networking and the people who run the cluster. Here is the breakdown.

Hertiv engineering teamReviewed by a senior engineer
7 min read
How Much Does Kubernetes Cost? A Plain Breakdown
On this page

Short answer

Kubernetes is free open-source software, but running it costs money: you pay for the worker nodes that run your workloads, plus storage, networking, load balancers and the engineering time to keep the cluster healthy. Managed services add a flat control-plane fee, while self-managed clusters cost engineer time instead.

What does Kubernetes cost?

Kubernetes cost is the money you pay to run clusters: the control plane, the worker nodes that run your workloads, storage, networking and the people who keep the cluster healthy. The software itself is free and open source, so the bill comes from the infrastructure underneath it and the effort to run it.

The table below breaks the cost into its main parts and what drives each one.

Cost partWhat you pay forMain driver
Control planeThe API server, scheduler and etcdUsually a flat fee on managed services
Worker nodesThe machines that run your podsNode size, count and hours running
StoragePersistent volumes for databases and filesVolume size and storage class
NetworkingLoad balancers and data transferTraffic between zones and the internet
ObservabilityLogs, metrics and tracesHow much data you keep and for how long
PeopleCluster setup, upgrades and incidentsCluster count and how often you change it

The sections below explain each part, how managed and self-managed clusters differ, and how to estimate the bill before you commit.

How much do the worker nodes cost?

The worker nodes usually cost the most, because they are the machines that run your applications. You pay for each node by its size and by the hours it runs, and the bill grows with the number of nodes and the size of the workloads on them.

Most clusters waste a share of node capacity. Pods request CPU and memory they rarely use, and the scheduler cannot pack other work into the gap, so the cluster runs more nodes than the real load needs. Rightsizing requests to match actual use is the single largest saving for most teams.

Autoscaling helps, but only if the limits are set well. A cluster that scales up fast and scales down slowly pays for idle nodes after every traffic spike, so check how long scaled-up nodes stay running before they are removed.

What is the difference between managed and self-managed Kubernetes cost?

The difference between managed and self-managed Kubernetes cost is who runs the control plane and who pays for the work around it. A managed service runs the control plane for a flat fee and handles upgrades and repairs, while a self-managed cluster makes your team run it.

Managed clusters usually cost a flat monthly fee per cluster plus the nodes, storage and networking underneath. Self-managed clusters avoid the flat fee but cost engineer time: upgrades, certificate rotation, etcd backups and incident response all fall on your team.

For most small teams, the managed fee is cheaper than the engineer time a self-managed control plane needs. Large teams with several clusters sometimes run their own control plane to save the per-cluster fee, but only if they already have the skills in house. If you are weighing the choice, cloud services planning usually starts with the managed option and only moves away from it for a clear reason.

What drives Kubernetes cost up?

Kubernetes cost goes up when nodes are oversized, when storage and networking are left on default settings, and when observability data is kept far longer than anyone reads it.

  • Overprovisioned requests. Pods that request twice the CPU they use force the scheduler to run extra nodes.
  • Always-on environments. Development and staging clusters that run all weekend cost the same as production, even though nobody uses them then.
  • Cross-zone traffic. Pods that talk across availability zones pay for the traffic, so placing related services in the same zone saves money.
  • Load balancers per service. Every service with its own load balancer adds a fixed charge, so shared ingress is cheaper than one balancer per service.
  • Long log retention. Keeping every log for a year costs far more than keeping a week of detail and a month of summaries.

Each driver is easy to check and easy to fix, which is why a cost review usually finds savings in the first week. A tools comparison such as Kubernetes cost optimization tools can help once you know which driver is biggest for you.

How do you estimate Kubernetes cost before you start?

You estimate Kubernetes cost before you start by counting the workloads, sizing the nodes they need, and adding the fixed parts such as the control plane, storage and load balancers.

  1. List the workloads. Write down each service, how many replicas it needs, and how much CPU and memory each replica really uses.
  2. Size the nodes. Add up the CPU and memory, divide by the node size you plan to use, and add one spare node for failures.
  3. Add storage and networking. Count the persistent volumes and the load balancers, and estimate the data that leaves the cluster each month.
  4. Add the control plane fee. Include the managed service fee for each cluster, or the engineer time for a self-managed one.
  5. Price it for a month. Multiply the node hours by the node price, add the fixed parts, and compare the total with your budget.
  6. Plan for growth. Add a margin for traffic growth and for the extra replicas you will need during deploys.

Do the estimate on paper before you create the cluster. A cluster that is built first and priced later usually has oversized nodes and services nobody planned for, and the bill arrives before anyone notices.

Example: estimating a small production cluster

Example (hypothetical): a team runs a small web application on Kubernetes with three services. It wants a monthly cost estimate before it creates the cluster.

The team sizes the cluster at 4 worker nodes. Each node is priced at $100 a month in its planning range, so the nodes cost 4 x $100 = $400 a month. The managed control plane costs $70 a month, one load balancer costs $20 a month, and storage for the database costs $30 a month.

Adding them up: $400 + $70 + $20 + $30 = $520 a month. The team also adds a 20% margin for traffic growth and deploy replicas, which is $520 x 0.20 = $104, bringing the planning total to $624 a month.

The numbers are planning ranges, not vendor prices. The point of the exercise is that the nodes dominate the bill, so getting the node count right matters more than haggling over the smaller parts.

How do you keep Kubernetes cost down over time?

You keep Kubernetes cost down over time by reviewing requests and limits regularly, turning off what is not used, and charging the cost back to the teams that create it.

  • Review requests monthly. Compare requested CPU and memory with actual use, and lower the requests where the gap is large.
  • Turn off idle environments. Scale development and staging clusters to zero outside working hours, or delete them when a project ends.
  • Use the right node sizes. A few large nodes are often cheaper than many small ones, because each node carries its own system overhead.
  • Share ingress. Route several services through one ingress controller instead of paying for a load balancer per service.
  • Show the cost to teams. When each team sees its own namespace cost, the requests get smaller without anyone being told to cut them.

Cost control is a habit, not a one-off project. A short monthly review of the largest namespaces and the largest nodes catches drift before it becomes a large bill, and it is cheaper than a rescue effort after the bill has doubled.

What are the common mistakes?

The most common mistakes with Kubernetes cost are oversizing requests, running idle clusters, and ignoring the bill until it surprises someone.

  • Copying requests from another service. A request that fits a database is usually far too large for a small API, so size each service from its own measurements.
  • No limits on new namespaces. Without a quota, a new team can create enough pods to double the node count before anyone notices.
  • Forgetting data transfer. Traffic between zones and out to the internet is billed, and a chatty service can cost more in networking than in nodes.
  • Keeping logs forever. Decide how long logs and metrics are kept, and check that the retention setting matches the decision.
  • Treating the bill as one number. Break the bill down by namespace and by cost part, so the team knows whether nodes, storage or networking is the problem.

Key takeaways

  • Kubernetes software is free; the bill comes from nodes, storage, networking and people
  • Worker nodes are usually the largest cost, and oversized requests are the largest waste
  • Managed clusters add a flat control-plane fee; self-managed clusters cost engineer time
  • Estimate on paper first: list workloads, size nodes, add storage, networking and the control plane
  • Review requests and idle environments monthly to keep the bill from drifting up

Frequently asked questions

Is Kubernetes itself free?

Yes. Kubernetes is open-source software with no licence fee. The cost comes from the infrastructure it runs on, such as worker nodes, storage and networking, and from the engineering time needed to run, upgrade and monitor the cluster.

How much does a managed Kubernetes cluster cost?

A managed cluster usually charges a flat monthly fee for the control plane plus the cost of the worker nodes, storage and networking underneath. The flat fee is small compared with the nodes, so the node count and size decide most of the bill.

What is the cheapest way to run Kubernetes?

For most small teams, a managed cluster with right-sized nodes and autoscaling is cheapest, because it avoids the engineer time a self-managed control plane needs. Turning off development clusters outside working hours also cuts the bill sharply.

Why is my Kubernetes bill higher than expected?

The usual causes are oversized CPU and memory requests, idle development clusters, traffic between availability zones, a load balancer per service, and long log retention. Break the bill down by namespace and by cost part to find which one is biggest.

Does Kubernetes cost more than virtual machines?

It can, because Kubernetes adds system overhead on each node and needs control-plane and observability tooling. It can also cost less when autoscaling and bin packing raise utilisation. Compare the two on the same workloads rather than on list prices.

How do I reduce Kubernetes cost without downtime?

Lower CPU and memory requests gradually, starting with the most overprovisioned pods, and watch for restarts or slow responses. Scale idle environments down outside working hours, and share one ingress controller instead of paying for a load balancer per service.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: software products in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Planning a Kubernetes platform or a cloud migration? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Cloud Services service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call