Interview Prep/Kubernetes/Scheduling, Resources & Autoscaling

What are the three QoS classes?

BeginnerConceptScheduling, Resources & Autoscaling
Answer

Guaranteed (every container has requests == limits for CPU and memory), Burstable (at least one request or limit set, but not Guaranteed), and BestEffort (nothing set). Under node memory pressure the kubelet evicts BestEffort first, then Burstable Pods exceeding requests, and Guaranteed last.

kubectl get pod web-0 -o jsonpath='{.status.qosClass}'
All Kubernetes questions Roadmap: Kubernetes core

More on Scheduling, Resources & Autoscaling