ENERGY AND CARBON METHODOLOGY

How GreenKube estimates Kubernetes energy and carbon.

Every GreenKube recommendation carries a CO₂e dimension next to its cost. This page explains how those estimates are built: CPU and memory telemetry, GPU power and Kubernetes context combined with instance power profiles, grid-intensity data and facility PUE, allocated to workloads by reservation, with a separate embodied-emissions estimate.

Method overview

From telemetry to workload estimates.

The methodology follows three steps: estimate node energy from CPU utilization and an instance power profile, plus memory power and GPU power; apply grid intensity and PUE to calculate operational CO₂e; then allocate results across workloads by reservation, with the unreserved remainder of each node reported as its idle share. Embodied emissions are a separate component.

Prometheus provides CPU and memory usage, and NVIDIA DCGM supplies GPU board power where it is installed, while Kubernetes node and pod metadata supply the context used for instance profiles and workload allocation.

Operational and embodied impacts are calculated separately. OpenCost supplies a distinct cost-allocation view alongside the energy and carbon estimates.

Data sources

Inputs that build the estimate.

Prometheus telemetry and Kubernetes metadata anchor the operational model. Grid-intensity providers, instance profiles and PUE add geographic and facility context. Boavizta or operator values provide embodied emissions, while OpenCost supports separate cost allocation. The table summarizes source roles and documented availability and fallback behavior.

Sources, roles and documented fallback behavior
SourceRole in the methodologyAvailability and fallbackCoverage and assumptions
PrometheusCPU utilization drives dynamic node power; memory requests and usage drive memory power. Kubelet CPU outside pods counts in node utilization when the series exists.Coverage depends on the configured scrape data and selected time window. Defaults used by the model are marked estimated with reasons.Sampling gaps affect the input coverage; CPU utilization is used to estimate power from an instance profile.
Kubernetes APINode metadata and pod specifications provide workload and instance context for estimates and allocation.Missing or unsupported context can limit attribution; consult the documentation for supported fields.Shared nodes and incomplete ownership affect how node-level results are allocated.
Electricity MapsDefault grid-intensity provider for location- and time-dependent carbon factors.Without a fresh provider value, a bundled annual mean for the zone or its country is used (2024 values from Ember’s yearly electricity data); the global fallback is 500 gCO₂e/kWh when neither exists.Results depend on zone mapping and data freshness; a regional factor can differ from the electricity used at a particular facility.
WattnetOptional alternative grid-intensity provider documented for 52 European zones at 15-minute resolution.Provider selection and credentials are configuration-dependent; use the documented fallback behavior if data is unavailable.Its documented geographic coverage, temporal resolution and method differ from other providers.
Built-in CCF profiles and PUEStatic instance power profiles inform the CPU model; provider PUE profiles represent facility overhead.For an unknown instance type, the node power profile is derived from its CPU capacity times the provider’s CCF per-vCPU coefficients (for example 0.74–3.5 W per vCPU on AWS), or their cross-provider average when the provider is unknown; the node is reported as node_capacity_derived. Only a node with neither a known type nor a known capacity falls back to the default profile (1 vCPU, 1–10 W). Without a provider PUE profile, the default PUE is 1.3. The result is marked estimated.Profiles approximate instance power; PUE profiles are provider-specific inputs.
NVIDIA DCGM and GPU profilesMeasured GPU board power, attributed to the pods that use the GPUs.Without DCGM samples, GPUs declared in the node capacity are estimated from a TDP profile at an assumed 50% utilization; a GPU of unknown model is flagged as not measured.TDP-based values are approximations and are flagged as estimated.
Boavizta API and operator valuesEmbodied emissions per node: an operator value per node or instance type first, then the lifetime embodied emissions of the cloud instance type from Boavizta; kept separate from operational energy.Without either, the fallback is 12 kg per vCPU of node capacity, and 100 kg per node only when the capacity is unknown, over a 4-year hardware lifespan. Fallback rows are flagged as estimated.Coverage and the lifespan and allocation assumptions shape the embodied estimate.
OpenCostCost-allocation input for cost visibility, separate from the energy and carbon equations.Without an OpenCost cost, a cost is modeled from bundled list prices (AWS, Azure, OVHcloud, Scaleway) or configured rates and labeled with its source; while a configured OpenCost is down, rows stay pending and are re-priced when it answers again.Shared costs and allocation rules differ from provider billing.

Operational-energy model

Estimating node energy from CPU, memory and GPU.

For each node, the model linearly interpolates between idle and maximum power in its instance profile using CPU utilization, then adds memory power and GPU power. It multiplies estimated power by the observation window to calculate energy, then allocates the node estimate across workloads: idle power follows each workload’s reservation, dynamic power its CPU usage.

Documented operational-energy model
StepCalculationInterpretation
Idle and maximum powerP_idle = min_watts × vCPUs; P_max = max_watts × vCPUsThe profile values are per-vCPU estimates for the instance type or configured fallback.
Node powerP_node = P_idle + (P_max − P_idle) × UU is the CPU utilization ratio from 0 to 1; linear interpolation is an approximation.
Node energy over timeE_node = P_node × duration_secondsThe result is energy in joules for the selected observation window.
Pod allocationE_pod = share_res × E_idle + share_use × E_dynamicDynamic CPU energy is shared by CPU usage; idle power, memory power and embodied emissions follow the reservation share (the larger of request and usage).
Memory powerP_mem = 0.392 W/GiB × memory GiBA Cloud Carbon Footprint coefficient applied to reserved memory; configurable.
GPU powerDCGM board power, else P = idle + util × (TDP − idle)Measured where DCGM runs; otherwise estimated from the GPU model’s TDP profile.
Node idle shareidle = node total − Σ workload sharesThe unreserved remainder of each node is reported as an idle row, so workload and idle rows add up to the node totals.

Grid intensity and facility PUE are applied to the energy estimate in the next step to calculate operational CO₂e.

Carbon calculation

Converting energy into operational CO₂e.

Operational CO₂e combines modeled energy with grid intensity and facility PUE. Embodied emissions are calculated separately per node-hour and allocated by reservation, then included in the combined value.

Documented carbon-estimation equations
ComponentDocumented calculationHow to read it
Operational CO₂eCO₂e_g = E_joules / 3,600,000 × intensity_gCO₂e_per_kWh × PUEUses estimated energy, the configured or documented fallback intensity factor, and the PUE profile.
Embodied impactM_h = GWP_kg × 1,000 / (lifespan_years × 8,760) gCO₂e per node-hour, allocated by CPU reservation shareGWP comes from an operator value or Boavizta, else 12 kg per vCPU (100 kg when capacity is unknown); 4-year lifespan.
Combined totalOperational estimate plus embodied estimateThe two components are also reported separately.

Provider PUE profiles supply the facility-overhead factor used in the operational calculation.

Aggregation

How the inputs become reported estimates.

Configured telemetry and provider inputs feed the node-energy model, carbon calculation and workload allocation. The cost-allocation path remains separate.

estimate-flow.txt
Prometheus telemetry + Kubernetes context
CCF instance profile + provider PUE
DCGM GPU power or TDP estimate
Electricity Maps / Wattnet grid intensity
Operator / Boavizta embodied emissions
                 ↓
       Normalize available inputs
                 ↓
       Estimate node energy / CO₂e
                 ↓
  Allocate to workloads + node idle share

OpenCost → separate cost allocation

CPU utilization and instance profiles, memory and GPU power produce estimated energy. Grid intensity and PUE convert that result to operational CO₂e; embodied emissions are added per node-hour. Kubernetes context, reservations and CPU usage support workload allocation, while OpenCost supplies a separate cost view.

The source table lists documented availability and fallback behavior. The technical references below explain source configuration and implementation details.

Fallback behavior

How unavailable inputs are handled.

Each supported input has a documented fallback or missing-data behavior. The configured provider and estimation reasons identify which path contributed to a result.

  1. 01

    Grid-intensity fallback

    Without a fresh provider value, GreenKube uses the bundled annual mean of the zone, then of its country; if neither exists, the documented global fallback is 500 gCO₂e/kWh. Each row records where its intensity came from.

  2. 02

    Unknown instance profile

    An unknown instance type gets a power profile derived from the node’s CPU capacity and the CCF per-vCPU coefficients of its provider (cross-provider average when the provider is unknown), reported as node_capacity_derived. When neither the type nor the capacity is known, the default profile applies (1 vCPU, 1–10 W) and the node is counted as an unknown power profile; PUE defaults to 1.3 without a provider profile. Such rows list their estimation_reasons and record each input’s source (power_source, intensity_source); the older is_estimated flag is deprecated.

  3. 03

    Missing embodied data

    Without an operator value or Boavizta data, embodied emissions fall back to 12 kg per vCPU of node capacity, or 100 kg per node when the capacity is unknown, with a 4-year hardware lifespan; the rows are flagged as estimated.

  4. 04

    Missing cost allocation

    Without OpenCost, cost is modeled from bundled list prices or configured rates and labeled with its source. When a configured OpenCost cannot price a window, its rows are marked pending and re-priced once OpenCost answers.

Example calculation

A worked calculation with documented fallback values.

This example uses the last-resort default profile (a node with neither a known instance type nor a known CPU capacity: 1 vCPU, 1–10 W), the default PUE 1.3 and the global intensity of 500 gCO₂e/kWh, with 50% CPU utilization for one hour, to show the CPU part of the calculation. A node with a known capacity would use its capacity-derived profile instead.

One-node operational estimate for the example window
StepInputsResult
Estimated node power1 W + (10 W − 1 W) × 0.55.5 W
Energy for one hour5.5 W × 3,600 seconds19,800 J = 0.0055 kWh
Operational CO₂e estimate0.0055 kWh × 500 gCO₂e/kWh × 1.3 PUE3.575 gCO₂e for the modelled node window

The operational result is 3.575 gCO₂e for the example node window. It excludes memory power, GPU power and embodied emissions; workload-level values are allocated from node energy by reservation and CPU usage share.

Technical references

Explore the implementation details.

The technical documentation describes the equations, supported sources, provider setup and fallback behavior behind the calculations on this page.

Use these references to inspect implementation behavior and configure the sources used by a deployment.

Limitations

What the estimates cover—and where they stop.

These boundaries describe the model inputs and how to interpret a reported value alongside its source coverage.

  • Modeled energy, not a meter

    Node energy is estimated by interpolating CPU utilization between an instance profile’s idle and maximum values, plus memory power from a per-GiB coefficient and GPU power from DCGM or a TDP profile. Apart from DCGM GPU readings, this is not a direct power reading from hardware, a node, container or pod; network and disk do not enter the energy calculation.

  • Workload allocation

    Workload energy and CO₂e are allocated from node estimates by reservation and CPU usage share. Shared infrastructure, incomplete ownership, scrape gaps, profile assumptions, source freshness, location mapping and PUE affect the result.

  • Grid-intensity sources

    Provider data and documented fallbacks do not represent the exact electricity mix at a facility. Wattnet documents 52 European zones at 15-minute resolution; other providers differ in coverage, freshness and method. A missing source does not mean zero energy or emissions.

  • Instance profiles and PUE

    Instance profiles approximate power and provider PUE profiles supply facility overhead. The documentation currently lists conflicting OVH PUE values in separate sections, so this page does not assert one OVH-specific value.

  • Embodied estimate

    The component uses an operator value, Boavizta instance data or a capacity-based fallback over four years. It is not a complete inventory of every cloud service, lifecycle stage or organizational emission.

  • Costs and observed outcomes

    OpenCost is a separate cost-allocation input; without it, costs are modeled from list prices or configured rates and labeled as such. A projected reduction does not establish lower electricity use or realized savings: compare post-change signals and reconcile costs with provider billing.