devtools

kube-green

A K8s operator to reduce CO2 footprint of your clusters
1,382 stars+4★ this week102 forksGoUpdated 9/2/2026100% free · open source
What it does

Kube-green is a Kubernetes operator that reduces the carbon footprint of your clusters by scaling down or turning off unused resources

When to use it
  • •You have a Kubernetes cluster with varying workload patterns and want to optimize resource usage
  • •You want to reduce your cloud costs by minimizing idle resources
  • •You need to report on and reduce the carbon emissions of your cloud infrastructure
Ready-to-paste prompt
kubectl annotate deployment my-deployment kube-green.io/scale-to-zero-enabled: 'true' --namespace=my-namespace
Heads up: You need to have a Kubernetes cluster with version 1.19 or later, as well as the `kubectl` command-line tool installed and configured to use with your cluster
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/kube-green && curl -fsSL https://workflowstacks.com/api/skills/kube-green/claude-skill -o ~/.claude/skills/kube-green/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How kube-green works
Codeflow
Free to inspect

Kube-green is a medium Go project (~7.4k lines across 47 code files, plus 5 test files). Setup is light: runs with Docker. Last commit 2 months ago, MIT license, has a test suite.

Size
Medium codebase
~7.4k lines · 47 code files · ~1 h to skim
Setup
Light setup
Runs with Docker.
Runs on
Go · Docker
No API keys detected
Go 90%Makefile 6%Shell 2%Go Template 1%Dockerfile 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    cmd/main.go
    Where the program starts running
  3. 3
    go.mod
    Dependencies and the commands it exposes
  4. 4
    internal/patcher/patcher_test.go
    Inside internal/ — the main logic begins here
What's in each folder
internal/Core code — the actual logic37 files
api/Backend / API7 files
cmd/Command-line entry points1 files
config/Configuration52 files
charts/Folder34 files
bundle/Folder7 files
logo/Folder4 files
hack/Helper scripts3 files
READMEHas testsDocumentedCI checksDocker readyMIT licenseUpdated 2 mo ago
Quick Actions
Details
Creator
kube-green
Language
Go
Category
devtools
Published
2/21/2021

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/kube-green.svg)](https://workflowstacks.com/skills/kube-green?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.