Duvaxa

DevOps & Cloud · Kubernetes right-sizing

PodRight

Pay for the Kubernetes you use.

Two weeks of real usage turned into right-sized CPU and memory for every workload, the monthly saving in dollars, the pods at risk, and the exact commands to fix them.

CTOs and platform leads on EKS, GKE or AKSFinOps ownersConsultancies running clusters for clients
k8s-rightsize · example
$ k8s-rightsize report --prometheus http://prometheus:9090
8 containers checked; requests could drop by about $673 a month; 2 are at risk
shop/api/api x6 saves $286/month
cpu request 2 -> 360m (p95 310m) memory 4Gi -> 736Mi
shop/worker/worker x4
RS003 memory peaked at 992Mi, 97% of its 1Gi limit: close to OOM kills
Real run on the built-in demo export for a small cluster.
ReadsPrometheus or any CSV export
ShowsSaving per workload in USD
AccessRead-only
Outputkubectl fixes and patches

The problem

Most clusters request two to five times the CPU and memory they use, and the cloud bill charges for every requested core. Others are the opposite: memory at the limit, OOM kills at night, CPU throttled into latency. Nobody has time to size 200 containers by hand.

What it does

01

Reads real usage from Prometheus (cAdvisor and kube-state-metrics) or a CSV from Datadog, New Relic or CloudWatch

02

Right-sizes each container from its 95th-percentile CPU and 99th-percentile memory, with headroom you choose

03

Puts a monthly dollar figure on every over-requested workload, at your own node prices

04

Flags the risks next to the savings: OOM kills coming, CPU throttling, eviction, pods with no requests or limits

05

Writes the fixes: kubectl commands (including removing CPU limits) and strategic-merge patches for Kustomize or Helm

06

Groups pods into Deployments, StatefulSets and DaemonSets and sizes for the busiest replica

07

Read-only: no agent, nothing changed in the cluster

How it works

  1. Point it at Prometheus or export two weeks of usage
  2. Review the savings and risks with the team
  3. Apply the generated changes in staging, then production

Works with

KubernetesPrometheuskube-state-metricsThanosGrafana CloudEKSGKEAKSKustomizeHelmCSV

Runs in your CI

GitHub Actions workflow step
# Monthly right-sizing review
k8s-rightsize report --prometheus $PROM --format md --out rightsize.md --kubectl fixes.sh
Licensed customers get the action or command-line tool installed in their own organisation; it runs on your runners, so your code and plans never leave them. The command-line tools run in GitLab CI the same way.

Your data

  • Reads metrics only; never changes the cluster.
  • No agent to install.
  • Runs on your laptop or in CI.

Who it's for

CTOs and platform leads on EKS, GKE or AKSFinOps ownersConsultancies running clusters for clients

Questions

Will smaller requests cause outages?

Requests follow real peaks plus headroom, memory limits track the peak, and risky workloads are flagged separately. Roll out to staging first and watch for a week.

Why remove CPU limits?

CPU limits throttle a container even when the node has spare CPU; the request already guarantees its share. You can keep limits with one option if your policy requires them.

Related

Often used with PodRight

See PodRight on your own data

A 30-minute call. We run the product on your export, repository or document and walk you through the results.

Book a demo