METHOD

How a recommendation becomes a measured result.

Each stage of the loop answers one question and records its evidence: what does measured usage recommend, which changes are worth it, where do they live in Git, did they reach the cluster, and what did they save?

Projected, measured allocated and realized savings are reported separately and never added together.

The loop

From source to ledger.

Every transition is written to an audit trail, so a recommendation’s history can be followed from the first signal to the measured outcome.

loop.txt
GreenKube measurements (+ VPA, KRR, push API)
                    ↓
  Recommendations: evidence, confidence, risk, impact
                    ↓
     Plan: rendered diff, approved by digest
                    ↓
   Pull request → merge by your team (GitOps repo)
                    ↓
     Sync (Argo CD / Flux) → apply detection
                    ↓
   Measurement against a counterfactual baseline
                    ↓
        Append-only, hash-chained ledger

Decide

Measured value, corroboration and a projection you can inspect.

GreenKube’s own measurement of each workload decides the proposed size. VPA, Goldilocks, KRR and pushed signals never move it: independent sources that agree raise its confidence, contested advice lowers it, and every vote is shown. Sources that run the same engine, such as Goldilocks and VPA, count once, a source alone never creates a recommendation, and contested advice is never approved automatically.

Each recommendation carries its evidence (observation window, coverage, usage percentiles, restarts), a risk level and a confidence score with their factors, and a projection from one versioned Impact Model: cost, operational, idle-share and embodied CO₂e, and released capacity. Ranking profiles weigh cost, carbon, risk and effort differently.

Deliver and verify

What happens around the pull request.

Delivery is deliberately conservative: when a step cannot be done safely, the pipeline stops and says why.

  1. 01

    Binding

    GreenKube reads Argo CD Applications and Flux objects to find the repository, path and renderer of each workload, without workload annotations.

  2. 02

    Plan and digest approval

    The change is rendered from an exact commit in an isolated sandbox, checked so that only the intended fields change, and identified by a digest. Approval binds to that digest.

  3. 03

    Pull request

    One atomic commit on a deterministic branch, with evidence, impact, risk and the rendered diff in the description. GreenKube opens it, gives you a patch, or lets your CI open it.

  4. 04

    Sync and apply detection

    After the merge, GreenKube waits until Argo CD or Flux runs the landed commit and the live workload matches the plan. A plan never jumps directly to applied.

  5. 05

    Health gates and rollback

    Restarts, OOM kills, readiness, throttling and usage headroom are checked after the rollout. A rollback is proposed as a pull request through the same approval path.

Measure

Kinds of savings, kept apart.

A merged change is measured once over a seven-day post-window against a counterfactual: the same hour of the week before the change, adjusted by the workload’s load. The saving gets a 90% confidence interval, confounders are checked, and the outcome is realized, not realized, inconclusive or contaminated.

Savings figures and what they mean
FigureMeaningStatus
ProjectedExpected annual impact of a recommendation, from the versioned Impact ModelAvailable
Measured allocatedObserved change in what the workload is charged for, against the counterfactualAvailable
Released capacityCPU cores and memory freed, projected and then verified from the workload specsAvailable; booked in the ledger in core-hours and GiB-hours, never as money
Measured vs projectedHow each measured saving compares with its projection, shown side by side on every measured changeAvailable
Realized billedWhat actually left the cloud bill once nodes were removed, measured at node-pool levelOn the roadmap

Ledger

An append-only ledger you can verify.

Every saving is a ledger entry with its method and accounting basis. Projections accrue until the measurement decides, then are restated at the measured value, or reversed when a change is refuted or rolled back. Entries are never edited or deleted, and the measured cost of a reliability fix is booked as a cost, never netted into savings.

Entries form a hash chain per cluster, keyed with a generated secret and verified every hour; Prometheus alerts fire if the chain breaks or stops being keyed. Key rotation and the acceptance of a ledger head after a database restore are explicit, audited commands.

Human control

Your team merges. GreenKube proves.

A pull request changes nothing until a reviewer merges it and your GitOps controller syncs it. Optional policy-based auto-approval can open low-risk pull requests without a click; merging stays with your repository’s rules.

A projected impact is not a measured result, and a lower request does not by itself lower an invoice or energy use. GreenKube reports each figure with its method.

Use the documentation for implementation detail.

This page summarizes the method. The documentation covers the measurement methodology, the Impact Model, policy gates and configuration.