Free tool
How much of your cluster is reserved and idle?
Your nodes are sized by what pods request, not what they use. Paste kubectl get pods -A -o json and your usage, from kubectl top pods -A or a Prometheus p95 CSV. See requested vs. used CPU and memory per workload, suggested requests, the node capacity they free, and a YAML patch for each workload.
- No price list: add your node size and price if you want the dollars.
- Every result shows its formula and inputs, so you can check the math.
- Everything is calculated in your browser. Nothing you paste is sent anywhere.
Results
Requested vs. used, and what to request instead
kubectl top shows the last few seconds of usage, not your peak. Use it to find candidates, not to set requests: before you apply a patch, check a week of p95 CPU and peak memory in Prometheus (queries below) or with the Vertical Pod Autoscaler in recommendation mode.
CPU
n/a
Memory
n/a
Capacity freed
n/a
Nodes freed
n/a
Workload by workload
| Workload | CPU request | CPU used | Over | Suggested | Memory request | Memory used | Over | Suggested | CPU freed | Memory freed |
|---|
Requests, use and suggestions are per pod (all its containers). "Freed" is across all the workload's running pods. Highlighted rows should go up. Sorted by CPU freed.
The math
YAML patches
A strategic merge patch per workload that sets the suggested requests. Put the same values in the manifest in source control, or the next deploy puts the old ones back. Change one workload at a time, CPU before memory, and watch through a peak.
The link keeps the headroom and node settings. It never includes what you pasted.
Before you change requests
Size from a week of peaks, not a snapshot
This is gotcha 1 in our free guide, 12 cloud bill gotchas, and how to get the money back: you pay for what you launch and request, not what you use.
- With at least a week of Prometheus retention, export p95 CPU and peak memory per container, and paste them as a CSV with columns
namespace,pod,container,cpu,memory. Pods replaced during the week are matched to their workload by name.max by (namespace, pod, container) ( quantile_over_time(0.95, rate(container_cpu_usage_seconds_total{container!="", image!=""}[5m])[7d:5m]) )max by (namespace, pod, container) ( max_over_time(container_memory_working_set_bytes{container!="", image!=""}[7d]) ) - Or run the Vertical Pod Autoscaler with
updateMode: "Off"(quoted) for at least a week, including your weekly peak, and read itstargetwithkubectl get vpa -A. - Lower requests one workload at a time, CPU before memory. If requests equal limits, lowering only the requests moves the pod from Guaranteed to Burstable QoS. A HorizontalPodAutoscaler measures utilization against requests, so adjust its target at the same time.
- After each change, watch for OOMKills, restarts and CPU throttling:
kubectl get pods -A -o custom-columns='NS:.metadata.namespace,POD:.metadata.name,LAST:.status.containerStatuses[*].lastState.terminated.reason' | grep OOMKilled
- Smaller requests only shrink the bill when nodes leave. Check that Cluster Autoscaler scale-down or Karpenter consolidation is on, and that PodDisruptionBudgets or
safe-to-evict: "false"annotations are not pinning half-empty nodes.
Optional
Get the free guide: 12 cloud bill gotchas, and how to get the money back.
The right-sizer works without it. The signup sends only your email address.
Privacy
Your cluster stays on this page
- The right-sizer runs in your browser. It makes no request of its own, and sends nothing you paste or choose. A file you choose is read on your device, not uploaded.
- Its Content-Security-Policy only allows connections back to this site, and it loads no third-party scripts, fonts or trackers.
- A shared link keeps your settings after the
#. Browsers never send that part of a link to a server. What you paste is never put in the link. - The only request with something you typed is the optional email signup. It sends your email address and the tool's name, nothing else.
Want us to look at the real thing?
Book a free 30-minute consult: we'll look at your bill with you, no obligation and no sales pitch. Or check your own cloud bill first with our free Cloud Bill Gotchas Checker.
Book a free 30-minute consult