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.
More on Autoscaling, Capacity & Cost
How do you right-size requests and limits?BeginnerWhy does HPA need accurate CPU requests?BeginnerWhat are Spot instances good for on Kubernetes?BeginnerHow do you reduce Kubernetes cost quickly?BeginnerWhat is metrics-server and what does it not do?BeginnerWhat is a good default for the node size and why?Beginner