Interview Prep/Kubernetes/Autoscaling, Capacity & Cost

How would you measure and attack the idle/waste share of a cluster's bill?

AdvancedProductionAutoscaling, Capacity & Cost
Answer

Compare requested vs used resources per namespace (OpenCost allocation, kube_pod_container_resource_requests vs container_cpu_usage_seconds_total), find node utilization (allocatable vs requested) and unattached volumes/LBs. Fix in order: remove unused, right-size requests via VPA recommendations, raise bin-packing through consolidation, then Spot/Savings Plans for the stable baseline.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Autoscaling, Capacity & Cost