- All Courses
- Kubernetes for Application Developers
- Running Reliably
- Requests, limits, and quality of service
Requests, limits, and quality of service
The request is what the scheduler reserves; the limit is the ceiling the runtime enforces.
Overview
The two numbers that decide your fate
The request is what the scheduler reserves; the limit is the ceiling the runtime enforces. Requests decide where a pod lands, limits decide how it misbehaves when it exceeds them.
CPU and memory fail differently. Exceeding a CPU limit throttles the process — it gets slow. Exceeding a memory limit kills it outright, with no application-level error and a very unhelpful exit.
Pods whose requests equal their limits get the highest quality-of-service class and are evicted last under pressure. Pods with no requests at all are the first to go.
In this lesson you will:
- Set requests from observed usage
- Understand CPU throttling versus memory kills
- Know which pods get evicted first
Resources
Notes are not saved yet — they clear when you leave this page.
Readiness and liveness probes
3m
Horizontal pod autoscaling
28m