Introducing tare: right-sizing Kubernetes from CPU pressure, not just usage
tare v0.1.0 is out: an open-source, read-only kubectl plugin that right-sizes workloads and explains every number it produces.
Why we built it
Most of a data center’s energy bill is decided long before a packet arrives: it is decided by how many nodes are switched on, and that is decided by the CPU and memory requests in Kubernetes manifests. Requests are usually guessed once and never revisited, so clusters run on far more hardware than their workloads need.
Right-sizing tools exist, but most of them look at one thing: how much a container used. That is not enough. A container capped at 100m that wants 400m draws the same usage graph as one that is sized correctly. Shrink it on that evidence and you have made a slow service slower.
So we built tare, and today we are releasing v0.1.0 as open source under Apache-2.0.

Ask the kernel, not the graph
tare reads Linux pressure stall information (PSI), which records the time a container spent waiting for a CPU. Unlike throttling counters, it exists for every container, with or without a limit: on our test cluster, 23 of 23 containers had a pressure signal, against 3 of 23 with throttle counters. Pressure above zero blocks a shrink. Zero across the whole window is what makes one safe.
On top of that, tare:
- Respects runtime ceilings. It reads
-Xmx,GOMEMLIMIT,--max-old-space-size, gunicorn workers, vLLM and Ollama flags and more, and never recommends memory below them. A JVM with a 256Mi heap sized from usage OOMKills on its next restart; tare gives it 384Mi and says why. - Never lowers or adds CPU limits. On Google’s Online Boutique, limits sized from usage made p95 latency 18× worse at twice the load. Sizing only the requests cut 1.6 CPU and 1 GiB with latency at baseline.
- Counts nodes, not millicores. Recommendations are replayed through bin packing against your real nodes and placements, so the headline is nodes freed.
- Says when it cannot see. A missing signal downgrades a finding to
UNVERIFIEDinstead of reading as zero, and OOMKilled memory prints?rather than a guess.
Read-only, no setup
tare is a kubectl plugin. No agent, no CRD, no configuration: it reads the Kubernetes API and the Prometheus you already have, through the API server proxy, with your own permissions. Nothing is ever applied automatically. It gives you a table, kubectl patch commands, a self-contained HTML report for whoever approves the change, or edits to your manifests ready for a pull request.
$ kubectl tare report
VERDICT CONF NAMESPACE WORKLOAD CONTAINER PODS CPU MEM WHY
SATURATED medium prod checkout api 6 50m→115m 16Mi→? OOMKILLED,CPU_PRESSURE,+1
IDLE high prod legacy-sync worker 1 500m→10m 256Mi→16Mi IDLE_NO_WORK,IDLE_NOT_RULED_OUT
WASTE medium prod static nginx 12 1000m→10m 1.0Gi→16Mi -
Honest about its failures
tare’s claim is not that it is clever, but that it will not confidently tell you something false. That claim is only worth the evidence behind it, so every serious defect we found while building it, 53 so far, is written down in KNOWN-FAILURES.md: what it looked like, what it was, and how it was caught.
Try it
Run kubectl tare report --demo to see the real analyzer on simulated workloads without pointing it at anything, then kubectl tare check to find out what your cluster can support. Install instructions and the full command list are on the tare page, and the code is on GitHub.
This is a first release, and we want to hear where it is wrong. Open an issue, or get in touch.