1. Estimating Energy
Calculates per-pod energy consumption (Joules) using Prometheus metrics and cloud instance power profiles based on the Cloud Carbon Footprint methodology.
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:
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.
| Role | Use Case |
|---|---|
| DevOps / SRE | Monitor cluster efficiency, identify wasteful workloads, right-size resources |
| FinOps | Optimize cloud costs with visibility into per-workload spending and recommendations |
| Sustainability / CSR | Generate carbon reports for CSRD compliance, track emission reduction progress |
| Platform Engineers | Deploy a self-hosted monitoring stack with Helm, integrate with existing Prometheus/OpenCost |
| CTOs / Engineering Managers | Get high-level dashboards showing cost and emission trends across the organization |
GreenKube introduces the concept of FinGreenOps — the convergence of:
By combining these disciplines, teams can make decisions that are both cost-effective and environmentally responsible.
GreenKube estimates energy consumption using:
The carbon emission formula is:
CO₂e (grams) = Energy (kWh) × Grid Intensity (gCO₂e/kWh) × PUEWhere:
| Component | Technology |
|---|---|
| Backend | Python 3.11, FastAPI, asyncio |
| Frontend | SvelteKit, ECharts, Tailwind CSS |
| Data Collection | Prometheus, OpenCost, Kubernetes API |
| Carbon Data | Electricity Maps API, Boavizta API |
| Storage | PostgreSQL, SQLite, Elasticsearch |
| Deployment | Helm Chart, Docker (multi-arch) |
| CLI | Typer + Rich |
Ready to get started? Follow the guides below: