Skip to main content
InterviewHubPRO
Section Overview
Q22

Question 22 of 50

Part 2: Core Architecture & Implementation (Mid-Level)

44%
Kubernetes (K8s) (50 Qs)•Part 2: Core Architecture & Implementation (Mid-Level)

Quality of Service (QoS) Classes: Guaranteed vs. Burstable vs. BestEffort.

senior LevelSystem Design

In Simple Words: When a worker node runs out of physical memory, the Kubelet evicts Pods based on their QoS class:

  1. Guaranteed (Safest):
    • requests == limits for both CPU and Memory.
    • Lowest eviction priority. Will only be terminated if no Burstable or BestEffort pods remain on the node.
  2. Burstable (Standard):
    • requests < limits, or requests defined without limits.
    • Evicted when they exceed their requested memory and the node runs out of memory.
  3. BestEffort (Highest Risk):
    • No requests and no limits defined.
    • First to be killed by Kubelet OOM eviction. Never use for production workloads!