Articles

Kubernetes Cost Optimization: Cut Spend + Best Practices

Why Kubernetes bills grow, the six cost levers that bring them down, which autoscaler fits which job, the tools teams use, and how to trim storage and backup waste.

Team Eon
Written by
Team Eon
Published: 
Nov 27, 2026
0
 min read

Quick Summary

  • Most Kubernetes compute waste starts with requests set higher than pods use. The scheduler reserves node capacity by request, so padded requests become extra nodes on the bill.
  • Fix requests first, then autoscaling, then node choice and Spot. Autoscalers and discounts scale whatever request sizes you already have, good or bad.
  • Spend stops creeping back once each team can see its share. Allocate costs by namespace and label so every number has an owner.
  • Idle namespaces and dev clusters are the easiest savings, because deleting them carries almost no risk.

A cluster bill doesn’t usually jump because of one bad decision. Each team pads its pod requests a little, the autoscaler adds nodes to fit them, a test namespace stays up after the project ends, and a few months later the platform team is paying for 40 nodes that run at a fraction of their capacity.

That slack is what Kubernetes cost optimization goes after. Most of it sits in compute, but a smaller, stubborn share sits in storage, where deleting a workload doesn’t delete what it left on disk.

We run into that second part often at Eon, where we handle cloud data protection and recovery for EKS and other cloud workloads across multi-account environments. Teams that tune their nodes carefully often still keep every volume and snapshot they’ve ever created.

What is Kubernetes cost optimization?

Kubernetes cost optimization is the practice of matching the compute, storage, and network you pay for to what your workloads use, and assigning that spend to the teams that create it.

It’s ongoing work. Every deploy, traffic change, and new team changes what a cluster needs, so a request size that was right in March can be twice too big by June. Most teams run it as part of FinOps, with platform engineers making the changes and finance tracking the results.

Why Kubernetes costs grow

Kubernetes makes it easy to ask for capacity and hard to see what that capacity costs. In the CNCF’s 2023 FinOps microsurvey, 70% of respondents named overprovisioning as the most-cited cause of their Kubernetes overspend.

Utilization data points the same way. Cast AI’s 2026 analysis of tens of thousands of production clusters put average CPU utilization at 8% and memory at 20%, both down from the year before. (It’s a vendor dataset, so treat the exact figures as directional.)

We often see these four patterns in most clusters.

Padded resource requests

Developers set CPU and memory requests at deploy time, usually with headroom so their service never gets killed for running out of memory. Those numbers rarely get revisited.

The scheduler places pods by their requests, so a pod that asks for 2 CPUs and uses 0.2 still holds 2 CPUs of node capacity. Multiply that across a few hundred pods, and you’re paying for nodes that mostly sit idle.

Shared clusters with no cost owner

A shared cluster has one bill and many users. The cloud provider bills nodes, disks, and load balancers and knows nothing about the pods or teams behind them, so ten teams on one node pool show up as a single line with no owner. If no team sees its own share, no team has a reason to shrink it.

45% of respondents in the CNCF survey blamed overspend on a lack of awareness of responsibility at the individual or team level.

Idle and forgotten workloads

Test namespaces, feature environments, old cron jobs, and whole dev clusters keep running after the work they supported is done. 43% of CNCF respondents named failing to deactivate resources after use as a cause of overspend.

Bin-packing fragmentation

Pods come in different shapes. A node can have plenty of free CPU but no free memory, or the reverse, so a new pod doesn’t fit and the autoscaler adds another node. Over time, the cluster ends up with many half-full nodes.

Autoscaling makes all four patterns harder to spot. It adds capacity to fit inflated requests and keeps the service healthy, so nothing breaks and the waste shows up only on the invoice.

What you pay for in a Kubernetes cluster

A managed cluster bill has five main parts:

  • Compute: The worker nodes (VMs) your pods run on. This is usually the largest line, and it’s where requests, autoscaling, and Spot have the most effect.
  • Control plane: A flat fee on managed services. Amazon EKS charges $0.10 per cluster per hour on standard support and $0.60 per cluster per hour on extended support.
  • Storage: Persistent volumes, volume snapshots, and backup copies, billed per GB provisioned or stored.
  • Network: Load balancers, NAT gateways, traffic between availability zones, and egress to the internet.
  • Observability: Log, metric, and trace ingestion, which grows with the number of pods and how chatty they are.

How to reduce Kubernetes costs: 6 best practices

Each practice below targets one cost lever. The order matches how savings stack: autoscalers and Spot discounts multiply your request sizes, so fixing requests first makes every later step pay off more.

1. Right-size resource requests and limits

Start by comparing each workload’s requests with its actual usage over a couple of weeks, including peak traffic. Set CPU requests near typical usage and memory requests near the observed peak plus a small buffer.

CPU and memory behave differently when you get it wrong. A container that hits its CPU limit gets throttled, while one that goes over its memory limit can be OOM-killed, which is why memory needs more headroom than CPU.

A few practices keep requests accurate after the first pass:

  • Use the Vertical Pod Autoscaler (VPA) with updateMode: Off, which generates suggested requests per workload without applying them, before changing anything.
  • Set a ResourceQuota per namespace so one team can’t claim a whole node pool by accident.
  • Use a LimitRange to give pods sensible default requests when developers leave them blank.
  • Re-check requests after major releases, since a new version can change memory use a lot.

2. Autoscale pods and nodes

Autoscaling matches capacity to demand, so you stop paying for peak capacity at 3 a.m. Kubernetes has two layers: pod autoscalers change how many pods run or how big they are, and node autoscalers change how many machines sit underneath.

Autoscaler What it scales When to use it
Horizontal Pod Autoscaler (HPA) Number of pod replicas, based on CPU, memory, or custom metrics Stateless services whose traffic rises and falls during the day
Vertical Pod Autoscaler (VPA) CPU and memory requests of each pod Steady workloads with guessed requests; start with updateMode: Off
Cluster Autoscaler Number of nodes in existing node groups Clusters built on fixed node groups or node pools, on any major cloud
Karpenter Nodes launched to fit pending pods, plus consolidation of underused nodes EKS clusters, and AKS through node auto-provisioning, with mixed workloads or Spot

Don’t let HPA and VPA both act on CPU or memory for the same workload, because they’ll fight over the same signal (pair HPA on CPU with VPA on memory, or scale HPA on custom metrics instead). And a pod autoscaler only cuts cost if a node autoscaler removes the freed-up nodes.

On Azure, AKS node auto-provisioning is based on Karpenter, so the same model works across EKS and AKS.

3. Size nodes and improve bin packing

Node choice decides how well pods fit. Very large nodes waste more capacity when they’re half-empty, and very small ones lose a bigger share of each machine to system pods and daemonsets. Most teams land on a mix of mid-size instance types that match their pods’ CPU-to-memory ratio.

Consolidation does the rest. Karpenter can delete a node when all its pods fit on free capacity elsewhere, or replace it with a cheaper one, and its default policy acts on both empty and underused nodes. Cluster Autoscaler can also scale down underused nodes in a node group.

Protect critical services before you turn consolidation on. A PodDisruptionBudget caps how many replicas of an app can be evicted at once, so a node replacement doesn’t take a whole service down.

4. Run fault-tolerant workloads on Spot

Spot capacity is spare cloud capacity sold at a deep discount. AWS lists savings of up to 90% compared with On-Demand prices, and Google Cloud lists up to 91% for many machine types.

The tradeoff is interruption. AWS sends a two-minute warning before it stops or terminates a Spot Instance, so the workloads on it need to handle being moved.

Good fits include stateless web replicas, batch jobs, CI runners, and data processing that can retry. Single-replica databases and anything with long startup times are poor fits.

To make Spot work:

  • Spread Spot nodes across several instance types and availability zones, so one capacity shortage doesn’t drain every node.
  • Keep a base of On-Demand nodes for workloads that can’t move.
  • Use PodDisruptionBudgets and graceful shutdown so pods drain cleanly inside the warning window.

Cover the steady baseline with commitments instead. AWS Compute Savings Plans reduce compute costs by up to 66% and apply across instance families, which suits node fleets that change shape over time.

5. Remove idle and orphaned resources

Idle resources are the easiest savings because removing them carries almost no risk. Look for:

  • Dev and test clusters that run nights and weekends. Scaling them to zero outside working hours cuts their compute cost by more than half.
  • Namespaces and deployments with no traffic for weeks.
  • LoadBalancer services nobody calls. Each one usually provisions a cloud load balancer that bills by the hour.
  • Clusters stuck on old Kubernetes versions, where EKS extended support adds roughly $365 a month per cluster, the $0.50 hourly difference over a 730-hour month.
  • Orphaned persistent volumes and stale snapshots.

Make cleanup routine. A weekly report of namespaces with low request usage, sent to their owners, catches most of this before it piles up.

6. Make costs visible and allocate them by team

Allocation turns one cluster bill into a number per team, app, or environment. The usual building blocks are a namespace per team or app, plus consistent labels such as team, app, environment, and cost center on every workload.

Both major clouds now split node costs down to the pod. EKS split cost allocation data divides each EC2 instance’s cost across its pods by CPU and memory and tags the result with cluster, namespace, and workload. GKE cost allocation adds cluster, namespace, workload, and Pod label data to the Cloud Billing export.

Decide early how to handle shared costs: the control plane, system namespaces, monitoring, and idle node capacity. Most teams split them in proportion to each team’s requests, one of several cloud cost allocation methods.

Then choose a model. Showback reports each team’s spend without billing them. Chargeback moves the cost into each team’s budget. Teams usually start with showback, fix their labels, and move to chargeback once the numbers are trusted.

Labels only help if they’re complete. Enforce required labels at deploy time with an admission policy, and keep cloud tags and Kubernetes labels in sync as the cluster grows.

How to cut Kubernetes storage and backup costs

You cut Kubernetes storage cost by deleting the volumes, snapshots, and backup copies that outlive the pods they served. Each one keeps billing until someone removes it.

Delete unused persistent volumes

When you delete a PersistentVolumeClaim, the reclaim policy decides what happens to the disk. Dynamically provisioned volumes default to Delete, but Retain keeps the PV and the underlying disk, which is common for databases.

That’s a safe default for data and an expensive one for cleanup. Delete a namespace or a whole cluster with Retain volumes inside, and the cloud disks keep billing per GB provisioned. Kubernetes also lets you expand a PVC but not shrink it, so oversized volumes stay oversized.

List volumes in the Released state, and cloud disks with no attachment, every month. Confirm each one has a current backup before you delete it.

Clear out stale volume snapshots

CSI volume snapshots and EBS snapshots pile up from deploy pipelines, migrations, and one-off scripts. On AWS, they cost $0.05 per GB-month in the standard tier and $0.0125 per GB-month in the archive tier, where snapshot sprawl quietly adds up.

Give every snapshot an owner and an expiry. Snapshots with no matching volume and no retention rule are usually safe to review for deletion.

Right-size backup retention

Backups are where storage waste hides best, because nobody wants to be the person who deleted the copy that was needed later. Retention gets set once, often generously, and never revisited. Some clusters also get backed up twice by two different tools.

In our 2026 Cloud Data Infrastructure Report, 63% of cloud IT leaders said storage costs force them to retain or protect less data than they should, and 87% of that group also keeps data it doesn't need. The fix is retention that follows the data instead of one policy applied to every namespace.

That’s the part of Kubernetes cost we work on at Eon. Eon backs up EKS namespaces, including Kubernetes Secrets and EBS-backed persistent volumes, and restores at the namespace level or down to individual files and folders. Kubernetes backup and EKS backup run under one retention policy instead of piling up copies across tools.

Cloud Backup Posture Management (CBPM), the category we created, assigns backup policies by environment, data class, and tags, so dev resources don’t inherit production retention.

Posture controls flag backups held past a maximum retention you set, and global deduplication keeps storage cost up to 50% lower. Cost Explorer shows backup spend by resource, resource type, and source account. NETGEAR's own move off a legacy provider cut its backup storage costs 35%.

How to measure Kubernetes cost efficiency

Track a few numbers monthly so you can tell whether the changes held:

  • Request utilization: Actual CPU and memory use divided by requests, per namespace. Low numbers point to padded requests.
  • Idle cost: The share of node spend not claimed by any pod’s requests.
  • Unallocated cost: The share of spend you can’t map to a team. It should shrink as labels improve.
  • Cost per unit: Spend per request, per customer, or per job, so growth in traffic doesn’t look like waste.
  • Spot and commitment coverage: The share of node hours on Spot or covered by Savings Plans.
  • Storage with no owner: Released volumes, unattached disks, and snapshots past their expiry.

Kubernetes cost optimization tools

Most teams combine one visibility tool with one or two tools that make changes.

  • Kubecost: Cost allocation by cluster, namespace, and workload, plus showback and chargeback, budgets, and rightsizing recommendations across clusters, containers, nodes, and storage. IBM acquired it in 2024, and the free Foundations tier covers unlimited clusters up to 250 cores with 15-day metric retention.
  • OpenCost: An open source cost monitoring project that allocates spend down to the container, including CPU, GPU, memory, load balancers, and persistent volumes. It’s a CNCF incubating project.
  • Karpenter: An open-source node autoscaler, built at AWS, that launches nodes sized for pending pods and consolidates underused ones.
  • Cast AI: A commercial platform that sets pod requests from observed usage, bin-packs pods onto fewer nodes, and moves eligible workloads to Spot.
  • CloudZero: A cost platform that allocates cloud and Kubernetes spend to teams, products, and customers and calculates unit costs.
  • Goldilocks: An open source utility from Fairwinds that runs VPA in recommendation mode and shows suggested requests for each workload in a dashboard.

The same levers apply beyond Kubernetes, across broader cloud cost optimization.

Keeping Kubernetes spend down over time

Kubernetes cost optimization works in order. Compute is where most of the savings are; every later lever pays off more once requests are right, and allocation holds the line by making each team's spend visible.

Storage is the lever that keeps climbing after compute is handled, so it needs the same discipline: a retention policy that expires dev copies early and holds only what compliance requires.

How much of your EKS backup storage covers data nobody needs anymore? Book a demo to see backup spend broken down by resource.

Frequently asked questions

How to reduce Kubernetes costs?

You reduce Kubernetes costs by right-sizing pod requests, autoscaling pods and nodes, consolidating underused nodes, running fault-tolerant workloads on Spot, removing idle resources, and allocating spend to teams. Start with requests, since every other lever builds on them.

What is the biggest driver of Kubernetes costs?

The biggest driver of Kubernetes costs is compute, and most compute waste comes from overprovisioned requests. Overprovisioning was the most-cited cause of overspend in the CNCF's 2023 FinOps microsurvey, named by 70% of respondents.

Is it safe to run Kubernetes production workloads on Spot instances?

Yes, for stateless and fault-tolerant production workloads with several replicas, PodDisruptionBudgets, and nodes spread across instance types. Keep single-replica databases and slow-starting services on On-Demand or committed capacity.

What is the difference between Kubecost and OpenCost?

OpenCost is the free, open source CNCF project for allocating Kubernetes costs; Kubecost is IBM's product built on it, with a free Foundations tier and paid Enterprise plans that add a unified multi-cluster view, unlimited metric retention, role-based access control, and dedicated support.

Does deleting a PVC delete the underlying disk?

Usually yes. Dynamically provisioned volumes default to the Delete reclaim policy, which removes the disk when its claim is deleted. A volume set to Retain keeps the disk, and that disk keeps billing until someone deletes it.

FAQ

No items found.
Team Eon
Team Eon

Turn your backups into usable data

Eon turns your backups into instantly searchable, usable data so you can recover exactly what you need without delays.

  • Instantly search backup data with Global Search
  • Find any backup data with Global Search
  • Restore only what you need
See eon in action