# kube-green/kube-green

A K8s operator to reduce CO2 footprint of your clusters

Repository: https://github.com/kube-green/kube-green
Canonical: https://ross.abutalabs.com/products/kube-green
Homepage: https://kube-green.dev
Language: Go
License: MIT
License Family: permissive
Topics: kubernetes, k8s, green-software, resources, cloud-native, downscale, hacktoberfest, climate-change
Last push: 2026-08-19T03:04:08+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 16, longevity 100
- inputs: {"age_days": 2019, "days_push": 14, "days_rel": 430, "gap_med": 114.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1368, forks 99 (observed 2026-08-28T04:04:31.573768+00:00)

## What it is
kube-green is a Kubernetes operator that automatically shuts down or scales down cluster resources (like dev and preview pods) during off-hours such as nights and weekends. It uses a SleepInfo CRD with timezone-aware schedules to reduce energy consumption, costs, and CO2 emissions.

## Use cases
- shut down dev pods on weekends and nights
- reduce kubernetes cluster energy costs
- lower CO2 footprint of k8s clusters
- schedule automatic pod downscaling outside working hours
- suspend preview environments when nobody is using them

## When to choose
- you run dev, staging, or preview environments in Kubernetes that sit idle outside working hours
- you want to cut cloud costs and emissions with declarative CRD-based schedules
- you need timezone-aware automatic shutdown of namespaces or deployments

## When to avoid
- your workloads must run 24/7 with no downtime
- you are not running Kubernetes
- you need fine-grained per-request autoscaling rather than time-based shutdown

## Facets
- artifact type: service
- maturity: active
- function: deployment, scheduling, container-orchestration, monitoring
- domain: cloud-computing, self-hosted
- platform: go, cloud, self-hosted
- tags: green-software, kubernetes-operator, sustainability, cost-optimization, downscaling, cncf-landscape, sleepinfo-crd, devops, containers, kubernetes, docker

## Member repositories
- kube-green/kube-green (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.573768+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:03.768181+00:00, confidence not recorded.
  - readme: https://github.com/kube-green/kube-green (fetched 2026-08-28T04:04:31.573768+00:00, sha e61ff7a14d07)
  - homepage: https://kube-green.dev (fetched 2026-08-29T11:58:01.926796+00:00, sha 1686e82a546a)
  - site_page: https://kube-green.dev/docs/getting-started (fetched 2026-08-29T11:58:01.936068+00:00, sha d1876bcbb3fe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
