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.
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