0
0
Kubernetesdevops~5 mins

Quality of Service classes (Guaranteed, Burstable, BestEffort) in Kubernetes - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What are the three Quality of Service (QoS) classes in Kubernetes?
The three QoS classes are Guaranteed, Burstable, and BestEffort. They define how Kubernetes manages pod resources under pressure.
Click to reveal answer
intermediate
What conditions must a pod meet to be classified as Guaranteed QoS in Kubernetes?
A pod is Guaranteed if every container has memory and CPU requests equal to their limits. This means the pod gets the highest priority for resources.
Click to reveal answer
intermediate
Describe the <strong>Burstable</strong> QoS class in Kubernetes.
A pod is Burstable if it has resource requests and limits set, but requests are less than limits for at least one resource. It can use extra resources when available but may be throttled under pressure.
Click to reveal answer
beginner
What happens to a BestEffort pod during resource contention in Kubernetes?
BestEffort pods have no resource requests or limits set. They get the lowest priority and are the first to be evicted when the node runs out of resources.
Click to reveal answer
intermediate
How does Kubernetes determine the QoS class of a pod?
Kubernetes checks the resource requests and limits of all containers in the pod. Based on their presence and equality, it assigns the pod to Guaranteed, Burstable, or BestEffort.
Click to reveal answer
Which QoS class in Kubernetes guarantees the highest priority for resource allocation?
ANone
BBurstable
CBestEffort
DGuaranteed
A pod with no resource requests or limits set falls under which QoS class?
ABestEffort
BGuaranteed
CBurstable
DCritical
If a pod has CPU requests less than CPU limits, what QoS class does it belong to?
ABurstable
BBestEffort
CGuaranteed
DNone
Which QoS class pods are evicted first during node resource pressure?
AGuaranteed
BBestEffort
CAll equally
DBurstable
What must be true for a pod to be classified as Guaranteed?
ARequests less than limits for some containers
BNo resource requests or limits
CRequests equal limits for all containers
DOnly CPU requests set
Explain the differences between Guaranteed, Burstable, and BestEffort QoS classes in Kubernetes.
Think about resource requests and limits and how Kubernetes uses them to prioritize pods.
You got /4 concepts.
    Describe how Kubernetes uses QoS classes to manage pod eviction during resource shortages.
    Consider which pods have resource guarantees and which do not.
    You got /4 concepts.