Kubernetes & Operations
Pod QoS
A pod's QoS class follows its requests and limits, and that class decides the order in which the kubelet evicts pods when node memory runs short.
What you will be able to do
- Explain how requests and limits map to Guaranteed, Burstable and BestEffort.
- Decide which workloads need Guaranteed settings and which can run as Burstable.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Kubernetes & Operations
- Topology spread constraintsIntermediate · 5 min
Topology spread constraints keep matching pods evenly spread across zones, and they explain why a hard rule can leave pods Pending when one zone has no room.
- Requests and limitsIntermediate · 4 min
Requests and limits decide where a pod lands and how much CPU or memory it can use, and a CPU limit can slow a service even when the node sits idle.
- OOMKilled diagnosisAdvanced · 4 min
An OOMKilled exit means the kernel ended a container for passing its memory limit, and the memory that counts includes more than the JVM heap.
- CrashLoopBackOff diagnosisAdvanced · 4 min
CrashLoopBackOff is a waiting state between restarts, and the cause sits in the logs and exit reason of the run that failed, not in the status itself.
- Readiness probesAdvanced · 4 min
A readiness probe decides whether a pod receives Service traffic, and a narrow probe keeps a shared dependency failure from removing every pod at once.
- Startup probesAdvanced · 4 min
A startup probe gives a slow app its own boot budget, so liveness checks can stay tight once the app is running.