惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MyScale Blog
MyScale Blog
F
Fortinet All Blogs
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Docker
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
爱范儿
爱范儿
V
Visual Studio Blog
Last Week in AI
Last Week in AI
WordPress大学
WordPress大学
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
L
LangChain Blog
Vercel News
Vercel News
阮一峰的网络日志
阮一峰的网络日志
IT之家
IT之家
P
Proofpoint News Feed
博客园_首页
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
C
Check Point Blog
Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I built a CLI that tells you where your Kubernetes money ...
Ozlem · 2026-05-04 · via DEV Community

Ozlem

Got tired of setting up dashboards just to answer "where does our K8s money go?"

So I built Burn — a CLI that shows you exactly which namespaces,

pods, and load balancers cost what. One command, no agent, no dashboard.

## What it looks like

  $ burn analyze --prometheus http://prometheus:9090     

  NAMESPACE            PODS  CPU REQ→USED   COST/MO
  argocd               4     2.0 → 30m      $56
  amazon-cloudwatch    11    1.6 → 82m      $44                                                                  
  kube-system          21    1.4 → 52m      $41
  ...and 7 more namespaces                                                                                       
  Idle (unallocated)                        $117                                                                 
  Total                                     $350                                                                 

  COST BREAKDOWN                                                                                                 
  Compute: $350 | Storage: $0 | LB: $16                                                                          
  Total: $367                                                                                                    

Enter fullscreen mode Exit fullscreen mode

argocd-dex-server requests 500m CPU, uses 0.12m. That's $14/month for 0.02% efficiency.

## Slack integration

It also works as a Slack bot. You just ask:

  /burn ask "what should I do to save money"                                                                     

  → 1. Switch to Spot — Save $277/mo                                                                             
    2. Rightsize argocd-dex-server (500m → 10m CPU)      
       $ kubectl set resources deployment argocd-dex-server -n argocd --requests=cpu=10m                         
    3. Delete forgotten rds-debug pods — $11/mo wasted

Enter fullscreen mode Exit fullscreen mode

You ask a question, it gives you kubectl commands. No manual analysis.

## How it works

  • Pulls node and pod data from the Kubernetes API
  • Gets actual CPU/memory usage from Prometheus
  • Fetches real pricing from AWS and Azure APIs
  • Splits cost per resource (CPU and RAM priced independently)
  • Detects load balancers via both Service and Ingress resources
  • GPU nodes detected and priced automatically

## Install

  brew install tanrikuluozlem/burn/burn                                                                          

Enter fullscreen mode Exit fullscreen mode

Also available as Docker image, Helm chart, or Go binary.

## On-prem and GPU

Works with on-premise and GPU clusters too:

  burn analyze --cpu-price 0.05 --ram-price 0.008 --gpu-price 3.00

Enter fullscreen mode Exit fullscreen mode

Open source, Apache 2.0: github.com/tanrikuluozlem/burn

What does your cluster idle cost look like? Curious if 33% waste is normal.