What are resource requests and limits?
BeginnerConceptScheduling, Resources & Autoscaling
Answer
A request is what the scheduler reserves for the container and the basis for CPU shares; a limit is the cap enforced at runtime. CPU over its limit is throttled; memory over its limit gets the container OOMKilled. Requests drive placement, limits drive runtime behavior.
resources:
requests: { cpu: 250m, memory: 256Mi }
limits: { memory: 512Mi }
More on Scheduling, Resources & Autoscaling
What are the three QoS classes?BeginnerWhat are liveness, readiness and startup probes?BeginnerWhat is a `nodeSelector`?BeginnerWhat is the difference between taints and tolerations?BeginnerWhat does the Horizontal Pod Autoscaler (HPA) do?BeginnerWhat is the Cluster Autoscaler at a high level?Beginner