OPEN-SOURCE OPTIMIZATION LOOP FOR GITOPS
Rightsizing you can review. Savings you can measure.
GreenKube sizes the CPU and memory requests of your workloads from what they really use, opens one reviewed pull request per change in your GitOps repository, and then measures what each merged change actually saved, in money, CO₂e and released capacity.
Git is the only write path. Projected savings are never shown as realized ones.
- RecommendGreenKube’s own measurements size each request; VPA, Goldilocks, KRR and a push API corroborate them.
- DecideEvidence, risk, confidence and projected cost, CO₂e and capacity; other sources raise or lower the confidence.
- DeliverOne click opens a pull request in the right file: raw manifests, Kustomize or Helm.
- VerifyArgo CD or Flux synced the merged revision and the new requests are live.
- MeasureSavings measured against a counterfactual, compared with the projection, written to an append-only, hash-chained ledger.
The problem
You already have the advice. Applying it is the hard part.
VPA, Goldilocks, KRR and cloud consoles all produce rightsizing lists. Most of that advice is never applied, for three good reasons.
Which advice should you trust?
Sources use different algorithms and observation windows, and they often disagree. Nobody wants to own an incident caused by a number they cannot explain.
How do you apply it safely with GitOps?
When the cluster mirrors Git, tools that resize pods in the cluster make Git stop describing what runs. Changes should go through the review process your team already trusts.
What did the change actually save?
Most tools report potential savings. Few measure what happened after a change, and fewer tie the result to the commit that caused it. Without a track record, trust never builds.
How it works
One loop, from advice to a measured result.
GreenKube closes the loop between what your workloads actually use and the repository that decides. Every step keeps its evidence, so the pull request carries what a reviewer needs.
- 01
Recommend from measured usage
GreenKube sizes CPU and memory requests and limits, up and down, from its own measurements of each workload, and flags orphaned LoadBalancers and PersistentVolumes. VPA and Goldilocks, Robusta KRR and any tool that posts signals to the public push API corroborate or contest each size; a source alone never creates a recommendation, and every source keeps its provenance.
- 02
Weigh evidence, risk and impact
GreenKube’s measured value decides the size: sources that agree raise its confidence, contested advice lowers it and is labeled, and every vote is shown. A memory increase after an OOM kill is a floor no other source can lower. Each recommendation carries its usage evidence, a risk level, a confidence score and a projected impact in money, CO₂e and released CPU and memory, and the list is ranked by expected value: the projected saving weighed by its success probability, incident risk and effort.
- 03
Open one pull request
GreenKube finds where the workload lives in Git through Argo CD or Flux, renders the change in an isolated sandbox for raw manifests, Kustomize overlays or Helm charts, and shows you the exact diff. One click opens the pull request on GitHub, GitLab or Gitea.
- 04
Verify the sync
After your team merges, GreenKube waits for Argo CD or Flux to report the merged revision, then checks that the live workload carries the new values. Health gates watch restarts, OOM kills and usage headroom, and a rollback is a pull request too.
- 05
Measure and keep the ledger
The change is measured against a counterfactual baseline with a confidence interval and confounder checks, then compared with its projection. The outcome, including the capacity it released, is linked to the pull request, merge commit and synced revision in an append-only ledger with a keyed hash chain.

Why GreenKube
Between advice-only tools and in-cluster optimizers.
Advice-only tools stop at a list. In-cluster optimizers change workloads continuously, outside Git. GreenKube keeps Git as the source of truth and adds the part neither does: proof of what each change delivered.
| Aspect | Advice-only tools | In-cluster optimizers | GreenKube |
|---|---|---|---|
| Where changes are written | Nowhere: someone has to apply the list | In the cluster, by a controller or webhook | In your GitOps repository, as a reviewed pull request |
| Sources of advice | One engine | One engine, usually the vendor’s | Its own measurements, corroborated by VPA, KRR and pushed signals, each with its provenance |
| Proof after the change | None | Usually a dashboard of estimated savings | Sync verification, counterfactual measurement and a ledger per change |
| Reaction time | Whenever someone acts | Continuous, in real time | At the pace of your review process; not a real-time autoscaler |
| Where it runs | Often a CLI or a SaaS | Often a SaaS control plane | Self-hosted in your cluster, Apache-2.0 |
GreenKube does not discard your recommenders: VPA, Goldilocks and KRR become corroborating votes. If you need real-time bursting or node management, an in-cluster optimizer may suit you better; GreenKube is for teams that want every production change to go through Git.
Released capacity
A real result on clusters without an autoscaler.
On fixed nodes, a smaller request does not shrink the bill until nodes are removed. GreenKube says so, and reports what you can act on instead: the CPU cores and memory a change frees.
Projected before the change
Every recommendation shows the cores and GiB it would free, and the pull request carries a released-capacity table. Capacity is never converted to money or added to cost savings.
Measured after the change
Each measured change gets a capacity verdict (released, partially released or not released) decided from the workload specs before and after, so it exists even without OpenCost or an autoscaler.
Honest money figures
On fixed-capacity clusters, request cuts appear as allocated cost (chargeback, not billed) with a note, instead of an inflated saving. Freed capacity is room for new workloads, or a reason to retire a node.

Trust and honesty
Built for teams that have been burned by savings dashboards.
The principles below are enforced by the product, not just written on this page.
Git is the only write path
No admission webhook, no in-place mutation, no ignored drift. A pull request changes nothing until your team merges it and your GitOps controller syncs it.
Projected is never shown as realized
Projected, measured allocated and realized savings are separate methods, labeled everywhere and never added together.
Uncertainty is part of the result
Measurements carry a confidence interval and a verdict that can be not realized, inconclusive or contaminated. A signal that cannot be read is reported as unavailable, never as a pass.
Fail closed, explain why
When a change cannot be delivered safely, GreenKube says why and what would fix it. Approval binds to the digest of the reviewed diff, so what you approve is exactly what is committed.
Cost and carbon side by side
Every recommendation has a cost dimension and a CO₂e dimension, with energy estimated from documented inputs and assumptions.
Sources corroborate, measurements decide
GreenKube’s measured value decides each size; VPA, KRR and pushed signals raise or lower its confidence. Each source builds a measured track record that you can inspect.
Where it runs
On-premises and in the cloud.
GreenKube runs in your own cluster: on-premises with kubeadm, k3s or minikube, and on AWS, GCP, Azure, OVHcloud and Scaleway.
It discovers Prometheus, OpenCost, VPA, Karpenter, Argo CD and Flux, and its setup page lists what is active and how to fix what is missing. Prometheus is strongly recommended; Argo CD or Flux is needed for pull requests; OpenCost is needed for verified cost savings on clusters without a bundled price catalog, such as on-premises. Karpenter, the Cluster Autoscaler and HPAs are read to estimate how much freed capacity can reach the bill.
Quick start
One Helm install, one sign-in.
There is no profile and no feature flag: discovery, previews, delivery, sync tracking and measurement turn on as their prerequisites appear. The chart installs PostgreSQL, the only supported database, or connects to your own. Sign in as admin with the generated password, and add a Git token when you want GreenKube to open pull requests.
helm repo add greenkube https://GreenKubeCloud.github.io/GreenKube && helm repo update
helm install greenkube greenkube/greenkube --namespace greenkube --create-namespace
kubectl -n greenkube get secret greenkube-initial-admin -o jsonpath='{.data.password}' | base64 -d; echo
kubectl -n greenkube port-forward svc/greenkube-api 8000:8000 # sign in as admin at http://localhost:8000
# Optional: let GreenKube open pull requests
kubectl -n greenkube create secret generic greenkube-git-credentials \
--from-literal=token=<git token> --from-literal=host=github.comRecommendations need evidence first: request increases appear after about three hours of data, request decreases after seven days, so a full weekly cycle is seen. A merged change is measured over the seven days that follow. The loop described here ships in GreenKube v0.4.0, the current release; the changelog lists what changed and how to upgrade from 0.3.
Open source
Apache-2.0, self-hosted, nothing gated.
The whole loop is open source, including sign-in with SSO, scoped API keys and roles. Read the code, run it on your cluster, and help shape the next recommendation sources and GitOps layouts.
Optional help, separate from the project.
Teams that want help connecting their sources, GitOps repositories and review process can discuss optional support. Services never unlock software features.