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 carbon footprint
  • Carbon visibility with data export capabilities for reporting and BI integration
  • Historical analysis with flexible time ranges

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:

Most engineering teams have no idea how much CO₂ their Kubernetes workloads emit. Without measurement, there can be no meaningful reduction. Tech SMEs in particular lack access to dedicated carbon monitoring tools that are both affordable and easy to operate.

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, exportable to CSV or JSON for easy integration with your existing tools.

RoleUse Case
DevOps / SREMonitor cluster efficiency, identify wasteful workloads, right-size resources
FinOpsOptimize cloud costs with visibility into per-workload spending and recommendations
Engineering Managers / CTOsGet high-level dashboards showing cost and carbon trends across the organization
Platform EngineersDeploy a self-hosted monitoring stack with Helm, integrate with existing Prometheus/OpenCost
Sustainability-conscious teamsTrack and reduce your infrastructure’s carbon footprint with concrete data

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.10+, 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 amd64/arm64)
CLITyper + Rich
SecurityOWASP headers, SCRAM-SHA-256, read-only containers, Trivy CI scanning

Ready to get started? Follow the guides below: