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.

Rightsizing you can review. Savings you can measure.
  1. RecommendGreenKube’s own measurements size each request; VPA, Goldilocks, KRR and a push API corroborate them.
  2. DecideEvidence, risk, confidence and projected cost, CO₂e and capacity; other sources raise or lower the confidence.
  3. DeliverOne click opens a pull request in the right file: raw manifests, Kustomize or Helm.
  4. VerifyArgo CD or Flux synced the merged revision and the new requests are live.
  5. MeasureSavings measured against a counterfactual, compared with the projection, written to an append-only, hash-chained ledger.
Apache-2.0Git is the only write pathArgo CD and FluxOn-premises and cloud

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

GreenKube Recommendations page with demo data: recommendations sorted by expected value, a CPU rightsizing of Deployment checkout-api-eu from 600m to 300m with its projected CO₂e and cost savings, the cores it frees, its risk, confidence and success probability, and an orphaned LoadBalancer below it.
Recommendations ranked by expected value, each with its projected saving, the capacity it frees, its risk and its confidence (demo data).

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.

How the three approaches compare
AspectAdvice-only toolsIn-cluster optimizersGreenKube
Where changes are writtenNowhere: someone has to apply the listIn the cluster, by a controller or webhookIn your GitOps repository, as a reviewed pull request
Sources of adviceOne engineOne engine, usually the vendor’sIts own measurements, corroborated by VPA, KRR and pushed signals, each with its provenance
Proof after the changeNoneUsually a dashboard of estimated savingsSync verification, counterfactual measurement and a ledger per change
Reaction timeWhenever someone actsContinuous, in real timeAt the pace of your review process; not a real-time autoscaler
Where it runsOften a CLI or a SaaSOften a SaaS control planeSelf-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.

GreenKube Change page with demo data: a measured change on Deployment commerce/pricing-service, with its measurement window, the allocated cost measured at $88 per year with a 90% interval, and a released capacity panel showing 0.35 CPU cores measured as released.
A measured change: allocated saving with its interval, and the released capacity shown separately, never added to cost (demo data).

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.

install.sh
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.com

Recommendations 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.