Interview Prep/Kubernetes/Autoscaling, Capacity & Cost

How do you decide between CPU limits on or off?

AdvancedProductionAutoscaling, Capacity & Cost
Answer

Without limits, Pods use idle CPU and avoid CFS throttling, with requests protecting others under contention, which suits most latency-sensitive apps. With limits you get predictable ceilings, needed for multi-tenant isolation or Guaranteed QoS. Our default: set CPU requests, omit CPU limits for trusted services, always set memory limits, and enforce limits for untrusted tenants.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Autoscaling, Capacity & Cost