Burstable
Burstable is the Kubernetes QoS class for pods that have some CPU or memory requests or limits set but do not meet the Guaranteed criteria. Burstable pods get a guaranteed baseline from their requests and can use more, up to their limits, when the node has spare capacity.
How Burstable works
The scheduler places a pod using its requests, so that capacity is reserved on the node. At runtime the kernel enforces limits through cgroups. Idle capacity on the node can therefore be used by a pod that exceeds its request, up to its limit.
Burstable is the right class for most stateless services: it protects the baseline while keeping nodes efficiently packed.
What triggers the Burstable class
- At least one container has a CPU or memory request or limit, and the pod is not Guaranteed.
- Requests differ from limits on any container.
- Only requests are set, with no limits.
- A mixed pod where one container has requests equal to limits and a sidecar does not.
Note that a container with limits only and no requests gets requests defaulted to the limits.
CPU and memory behave differently
above its request"] --> C{"Resource type"} C -->|"CPU"| T["Throttled at limit
pod keeps running"] C -->|"Memory"| K["Killed at limit
OOMKilled"] classDef start fill:#475569,color:#ffffff classDef decide fill:#FFEDD5,color:#1E293B classDef ok fill:#D1FAE5,color:#1E293B classDef bad fill:#FEE2E2,color:#1E293B class B start class C decide class T ok class K bad
CPU is compressible, so excess demand is throttled. Memory is not, so crossing the limit means the container is killed.
Sizing Burstable pods from real data
kubectl top pods -n production -l app=order-api# NAME CPU(cores) MEMORY(bytes)# order-api-7d9f8c-xkp2q 185m 198Miresources: requests: cpu: "200m" # near average usage memory: "256Mi" # near average plus a buffer limits: cpu: "500m" # burst room for traffic spikes memory: "384Mi" # peak plus generous headroomEviction order inside the class
Under node memory pressure the kubelet evicts Burstable pods after BestEffort, ranking by how far memory usage exceeds the request. A pod using exactly its request is close to safe.
TipStart with request near average usage and limit near observed peak plus 30 to 50 percent for memory. CPU limits can be more generous because throttling is recoverable.
SecurityA Burstable pod with no memory limit can consume all memory on the node and starve its neighbours. Always set memory limits.
Common MistakeSetting a huge limit "just in case". The scheduler packs pods by their small requests, then several bursting at once exhaust the node and every pod gets throttled.
Frequently Asked Questions
How can a pod use more than it requested?
Requests only reserve capacity at scheduling time, while limits are enforced at runtime by the kernel. If the node has unallocated or idle capacity, the container can use it up to its limit.
Should I use Guaranteed instead for safety?
Only for workloads that cannot tolerate eviction, such as databases. Guaranteed reserves the full limit for the scheduler, which wastes capacity when actual usage is lower.
Why are my Burstable pods CPU throttled?
The container is hitting its CPU limit and the kernel is slowing it. Check throttling metrics, such as container_cpu_cfs_throttled_periods_total, and raise the limit or remove it for latency-sensitive services.