Interview Prep/Kubernetes/Autoscaling, Capacity & Cost

How would you build a showback/chargeback system for shared clusters?

AdvancedProductionAutoscaling, Capacity & Cost
Answer

Collect Pod CPU/memory requests (and usage) per namespace/label via OpenCost/Kubecost, allocate node cost proportionally by requests (with idle cost distributed), add PV, load balancer and network costs, and join with AWS CUR for accuracy. Publish per-team dashboards and monthly reports; chargeback only after teams trust the numbers.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Autoscaling, Capacity & Cost