Skip to content
GreenKube

Introduction to GreenKube

GreenKube is an open-source FinGreenOps tool designed to help DevOps, SRE, and FinOps teams measure, understand, and reduce the carbon footprint and costs of their Kubernetes infrastructure.

It combines FinOps (financial optimization) with GreenOps (environmental sustainability) into a unified platform that provides:

  • Real-time monitoring of energy consumption, CO₂ emissions, and costs per pod, namespace, and node
  • Actionable recommendations to reduce both cloud bills and environmental impact
  • Regulatory compliance support for CSRD/ESRS E1 carbon reporting requirements
  • Historical analysis with flexible time ranges and data export capabilities

Cloud computing is responsible for approximately 2-4% of global CO₂ emissions — comparable to the airline industry. As organizations scale their Kubernetes infrastructure, they face two mounting challenges:

The EU’s Corporate Sustainability Reporting Directive (CSRD) requires companies to report the carbon footprint of their entire value chain, including cloud services (Scope 3). Without proper tooling, estimating the carbon impact of Kubernetes workloads is nearly impossible.

Studies show that 30-40% of cloud spending is wasted on idle, oversized, or poorly optimized resources. This waste translates directly into unnecessary carbon emissions.

GreenKube addresses both challenges simultaneously by:

1. Estimating Energy

Calculates per-pod energy consumption (Joules) using Prometheus metrics and cloud instance power profiles based on the Cloud Carbon Footprint methodology.

2. Tracking Carbon

Converts energy to CO₂e emissions using real-time grid carbon intensity data from Electricity Maps, with region-specific accuracy.

3. Optimizing Resources

Identifies optimization opportunities — zombie pods, oversized workloads, autoscaling candidates — with estimated savings in both cost and CO₂.

4. Reporting

Generates detailed reports by pod, namespace, and time period in formats compatible with CSRD/ESRS E1 requirements.

RoleUse Case
DevOps / SREMonitor cluster efficiency, identify wasteful workloads, right-size resources
FinOpsOptimize cloud costs with visibility into per-workload spending and recommendations
Sustainability / CSRGenerate carbon reports for CSRD compliance, track emission reduction progress
Platform EngineersDeploy a self-hosted monitoring stack with Helm, integrate with existing Prometheus/OpenCost
CTOs / Engineering ManagersGet high-level dashboards showing cost and emission trends across the organization

GreenKube introduces the concept of FinGreenOps — the convergence of:

  • FinOps: Financial management and optimization of cloud costs
  • GreenOps: Environmental sustainability and carbon footprint reduction

By combining these disciplines, teams can make decisions that are both cost-effective and environmentally responsible.

GreenKube estimates energy consumption using:

  • CPU utilization metrics from Prometheus
  • Cloud instance power profiles (min/max watts per vCPU) based on the Cloud Carbon Footprint methodology
  • Dynamic power modeling that accounts for idle and active power components

The carbon emission formula is:

CO₂e (grams) = Energy (kWh) × Grid Intensity (gCO₂e/kWh) × PUE

Where:

  • Energy is calculated from CPU utilization and instance power profiles
  • Grid Intensity comes from Electricity Maps API (real-time) or a configurable default
  • PUE (Power Usage Effectiveness) accounts for datacenter overhead (cooling, networking, etc.)
ComponentTechnology
BackendPython 3.11, FastAPI, asyncio
FrontendSvelteKit, ECharts, Tailwind CSS
Data CollectionPrometheus, OpenCost, Kubernetes API
Carbon DataElectricity Maps API, Boavizta API
StoragePostgreSQL, SQLite, Elasticsearch
DeploymentHelm Chart, Docker (multi-arch)
CLITyper + Rich

Ready to get started? Follow the guides below: