Interview Prep/Kubernetes/Autoscaling, Capacity & Cost

How do you right-size requests and limits?

BeginnerProductionAutoscaling, Capacity & Cost
Answer

Measure real usage for a couple of weeks with Prometheus (p95 CPU, p99 memory working set), set requests near p90-p95 usage plus headroom, set memory limit modestly above the request, and use VPA in recommendation mode or tools like Goldilocks to see suggestions. Over-requesting wastes money, under-requesting causes throttling and evictions.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Autoscaling, Capacity & Cost