Most teams have already done a round of Kubernetes cost cleanup. Someone finds the idle pods and the oversized resource requests, fixes what they find, and the bill drops for a month or two.
Then it creeps back up. Not because the cleanup didn't work, but because nothing was set up to keep working after it. A one-time audit catches the waste that exists on the day you go looking. It doesn't catch the waste a new deployment introduces three weeks later.
That's the real fork in Kubernetes cost optimization: one-time rightsizing versus continuous, workload-level cost visibility. This piece covers where Kubernetes costs actually come from, the process and architectural changes that address them, and why visibility has to come before any of it works.
What is Kubernetes cost optimization?
Kubernetes cost optimization is the ongoing practice of matching resource allocation and the cloud infrastructure underneath it to actual resource usage. Not a single audit. A standing practice.
Continuous optimization matters because otherwise slack tends to build up. The Cloud Native Computing Foundation's (CNCF) FinOps microsurvey found that 70% of respondents named overprovisioning as the single biggest driver of Kubernetes overspend, and nearly half said their costs increased after adopting Kubernetes. That's not a one-time misconfiguration. It's the default state of a cluster nobody is continuously watching, and it re-forms after every cleanup unless something is in place to catch it.
It's also not an isolated problem. Flexera's 2026 State of the Cloud report found cloud waste climbed to 29% this year, the first increase in 5 years, driven largely by AI workloads that are harder to forecast and govern than traditional services. Kubernetes clusters running those same AI workloads inherit that same forecasting problem on top of the waste patterns that were already common before AI entered the picture.
Where Kubernetes costs actually come from
A few patterns show up across nearly every cluster that hasn't had ongoing attention.
- Overprovisioned resource requests and limits. A team sets a pod's CPU and memory requests high "to be safe" during initial deployment. The service ships, and nobody revisits the number once real traffic patterns are known. Multiply that by every service in a cluster, and the gap between requested and actually used resources adds up fast.
- Idle or zombie workloads. Whether a staging environment for a project that shipped six months ago or a canary deployment that never got cleaned up after the rollout finished, idle workloads keep consuming reserved capacity indefinitely because nothing flags a workload as unused.
- Inefficient autoscaling configuration. Autoscalers configured with the wrong target metrics or thresholds set once and never revisited either scale too conservatively (and leave capacity sitting idle) or too aggressively (and thrash nodes up and down in a way that costs more than it saves).
- Cross-AZ and cross-region data transfer. A service in one availability zone calling a dependency in another, multiplied across every request, turns into a data transfer bill that doesn't show up anywhere near the compute costs someone's actually watching.
- Orphaned persistent volumes. A pod gets deleted, but the persistent volume backing it doesn't get cleaned up automatically in every configuration. Storage keeps billing for data nobody's reading anymore.
Here's what that looks like end to end: a team ships a new service with resource requests copied from a similar one, a load test that never quite matches production traffic, and a staging namespace nobody remembers to tear down after launch. Three months later, none of those things look urgent enough to fix on their own. Together, they're a meaningful chunk of the cluster's bill.
Catching patterns like these before they compound is exactly what cost management tooling is built for, and the landscape of options is broader than most teams realize once you get past the two or three names everyone already knows.
Process changes that cut cost without touching architecture
Some of the biggest wins don't require redesigning anything. They just require someone doing the unglamorous work of matching configuration to reality.
- Set resource requests and limits from actual resource utilization data, not guesswork or a template copied from another service. Identifying overprovisioned workloads enables tight bin-packing, preventing wasted node space that inflates your hourly bill.
- Focus on rightsizing resources on a schedule, not just once. Usage patterns shift as traffic grows or a service gets refactored. A request that was right six months ago may not be right today.
- Clean up unused namespaces and workloads on a regular cadence rather than waiting for someone to notice a bill spike and go looking.
- Match commitment purchases to steady-state usage. Savings Plans, Reserved Instances, and Spot capacity all offer real discounts, but only against the baseline load a cluster actually holds day to day. Committing against peak load or a baseline that's since shrunk turns a discount into an overpayment. AWS's native EKS tools can help size these commitments, though they're built around billing data rather than the application and performance context behind it.
None of this requires new tooling. It requires someone treating resource configuration as something to revisit on a schedule, whether that's a monthly review or a trigger tied to a usage threshold, as opposed to something set during initial deployment and never looked at again.
Architectural changes that cut cost the most
The process changes above assume a mostly static cluster. Real workloads fluctuate, and that's where autoscaling that's tuned correctly earns its cost back.
Horizontal Pod Autoscaler (HPA)
HPA adjusts the number of pod replicas running for a workload based on observed metrics, like CPU or memory utilization, or a custom metric a team defines, like queue depth or requests per second. It's the right tool for workloads where traffic varies but per-request resource needs stay roughly constant, such as a web frontend during a traffic spike.
Set the target utilization too conservatively, and a service runs overprovisioned most of the time, replicas sitting well below the threshold that would trigger scale-down. Set it too aggressively, and a sudden traffic spike outpaces how fast new replicas can actually come up, leaving users to deal with the lag before capacity catches up.
Vertical Pod Autoscaler (VPA)
VPA adjusts the resource requests and limits assigned to a pod instead of the number of replicas. It's suited to workloads where the number of instances is fixed but the right amount of CPU and memory per instance changes over time, like a database or a stateful service that can't simply be scaled out horizontally.
On older Kubernetes versions, changing a running pod's resource requests means recreating it, so an untuned VPA can trigger pod restarts as it adjusts allocations. In-place pod resize, stable since Kubernetes 1.35, lets VPA adjust many workloads without a restart, but not every change can be applied in place. Restarts are disruptive for anything sensitive to interruption, which is why VPAs are often run in recommendation-only mode initially to give teams the chance to review suggested changes before they're applied.
Cluster and node autoscaling
Rather than scaling a fixed set of predefined node groups the way older cluster autoscalers do, tools like Karpenter provision and remove nodes (including spot instances) based on what pods are actually pending and need to be scheduled. That means nodes get sized to fit the workloads that need to run on them instead of workloads getting fit into whatever node sizes or instance types were provisioned in advance.
This closes a real gap in the two autoscalers above: HPA and VPA both operate within the node capacity a cluster already has. Neither one adds capacity when there isn't enough room to schedule a new pod at all. Node autoscaling is what makes sure the capacity is there in the first place, and removes it again once demand drops.
The shared risk across all three: autoscaling thrash. A poorly tuned autoscaler that scales up and down repeatedly in response to noisy metrics costs more in node churn and instability than a stable, slightly overprovisioned baseline would have. Autoscaling is a genuine lever on cost, but only once it's tuned against real traffic patterns.
Why cost visibility has to come before optimization
Rightsizing, cleanup, and autoscaling all depend on one thing that's easy to skip: knowing which team, service, or deployment is actually driving the spend. CNCF's FinOps microsurvey found only 19% of respondents had access to accurate Kubernetes cost information, and 38% had no Kubernetes cost monitoring in place at all. Operating without that foundational visibility makes taking meaningful action nearly impossible.
Cost allocation per namespace, per pod, or per deployment isn't a nice-to-have layered on top of optimization work. It's the prerequisite. Without it, a rising bill is a mystery to be investigated after the fact, rather than a signal that points at a specific cause while there's still time to act on it.
Picture a shared cluster running workloads for five different teams. The monthly bill jumps 20%. Without cost broken down by namespace or deployment, someone has to manually work backward through recent changes across all five teams to find the cause. With that breakdown already in place, the answer is immediate. One team's new deployment doubled its replica count last week, and the increase lines up exactly.
Teams that skip this step end up re-running the same manual audit every time costs climb instead of building a system that surfaces the answer on its own. The audit approach doesn't scale past a handful of teams and a handful of services. Continuous visibility does.
That's the cost observability gap New Relic Cloud Cost Intelligence, generally available since April 2026, was built to close: putting cost data on the same platform as the operational telemetry that explains it rather than in a separate billing tool a team has to cross-reference by hand.
Connecting Kubernetes cost to the telemetry you already have
Dedicated Kubernetes cost tools can break spend down by namespace or workload, but they usually stop there. They can show which workload's cost changed, not why. The operational data that explains the change, like a deployment, a traffic spike, or a performance regression, lives in a separate monitoring tool, so someone still has to cross-reference the two by hand.
New Relic Cloud Cost Intelligence takes a different approach. Cost data lives on the same platform as application performance monitoring (APM), infrastructure, and Kubernetes monitoring already in use, so a cost spike can be traced from the application or cluster down to the workload and resources driving it.
Cloud Cost Intelligence focuses on connecting spend to operational context, correlating cloud and Kubernetes costs directly with the APM and infrastructure telemetry that explains why those numbers move. It grounds cost optimization in live usage patterns and application performance, allowing teams to address root causes in the same platform where they monitor reliability. Cloud Cost Intelligence isn't a dedicated commitment-automation or rate-optimization platform, though. It recommends rightsizing and savings plans based on actual usage, but teams still make and manage those purchases themselves.
New Relic also unifies this across cloud providers and environments, not just Kubernetes. Because it's all telemetry New Relic already collects, reclaiming control of a cloud budget works the same way whether the spend in question is a Kubernetes cluster, a managed database, or a serverless function.
See how Cloud Cost Intelligence connects Kubernetes spend to the deployments driving it using your own cluster's data instead of a hypothetical one. Request a demo to walk through it with a New Relic engineer.
As opiniões expressas neste blog são de responsabilidade do autor e não refletem necessariamente as opiniões da New Relic. Todas as soluções oferecidas pelo autor são específicas do ambiente e não fazem parte das soluções comerciais ou do suporte oferecido pela New Relic. Junte-se a nós exclusivamente no Explorers Hub ( support.newrelic.com ) para perguntas e suporte relacionados a esta postagem do blog. Este blog pode conter links para conteúdo de sites de terceiros. Ao fornecer esses links, a New Relic não adota, garante, aprova ou endossa as informações, visualizações ou produtos disponíveis em tais sites.