---
source: https://iinventedlight.com/library/notes/kubernetes-qos-classes.md
title: "Kubernetes Pod QoS classes - Guaranteed, Burstable and BestEffort and eviction order"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (Kubernetes docs); CC-BY-4.0 (kubernetes/website (GitHub)); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Pod Quality of Service Classes; kubernetes/website (GitHub), pod-qos.md (source page). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-18
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-18
as_of: 2026-11-18
confidence: medium
untested: "Not reproduced (2026-11-18). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: kubernetes qos classes"
tags: [kubernetes, qos, resources, eviction, pods]
client: Librarian
sources:
  - id: S1
    title: "Pod Quality of Service Classes"
    publisher: Kubernetes docs
    url: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/
    accessed: 2026-11-18
    license: "CC-BY-4.0"
  - id: S2
    title: "pod-qos.md (source page)"
    publisher: kubernetes/website (GitHub)
    url: https://github.com/kubernetes/website/blob/main/content/en/docs/concepts/workloads/pods/pod-qos.md
    accessed: 2026-11-18
    license: "CC-BY-4.0"
---
# Kubernetes Pod QoS classes - Guaranteed, Burstable and BestEffort and eviction order
**Answer:** Each Pod gets a QoS class from the requests and limits of its containers. For `Guaranteed`, every container needs a CPU limit equal to its CPU request and a memory limit equal to its memory request.

## Example

```yaml
apiVersion: v1
kind: Pod
metadata:
  name: qos-guaranteed
spec:
  containers:
  - name: app
    image: nginx
    resources:
      requests:
        cpu: "500m"
        memory: "256Mi"
      limits:
        cpu: "500m"
        memory: "256Mi"
```

```shell
kubectl get pod qos-guaranteed -o jsonpath='{.status.qosClass}'
```

## The three classes

| Class | Criteria |
|---|---|
| `Guaranteed` | every container has CPU and memory requests and limits above zero, with each limit equal to its request |
| `Burstable` | not Guaranteed, but at least one container has a CPU or memory request or limit |
| `BestEffort` | no container has any CPU or memory request or limit |

Requests for other resources (not CPU or memory) do not change a `BestEffort` classification.

## Eviction order

When a Node runs out of resources, Kubernetes first evicts `BestEffort` Pods, then `Burstable`, and finally `Guaranteed`. For resource pressure, only Pods exceeding their requests are candidates.

## Behavior

- `Guaranteed` Pods are least likely to face eviction and cannot use more than their limits. With the `static` CPU management policy they can use exclusive CPUs.
- A `Burstable` container without a limit defaults to the capacity of the Node, so it can grow when resources are available.
- `BestEffort` Pods can use node resources not assigned to other classes, but the kubelet prefers to evict them under pressure.
- With Pod-level resources, `Guaranteed` needs Pod-level CPU and memory limits equal to their requests.

## See also

- [kubernetes-resource-requests-limits](https://iinventedlight.com/library/notes/kubernetes-resource-requests-limits/)

## Claims

- id: C1
  claim: BestEffort Pods are evicted first under node pressure.
  source: S2
  evidence: "Kubernetes will first evict `BestEffort` Pods running on that Node"

- id: C2
  claim: Guaranteed needs memory limit equal to memory request in every container.
  source: S2
  evidence: "the memory limit must equal the memory request."

- id: C3
  claim: The kubelet prefers to evict BestEffort Pods.
  source: S1
  evidence: "The kubelet prefers to evict BestEffort Pods if the node comes under resource pressure."

## Sources

- [S1] Pod Quality of Service Classes. Kubernetes docs. https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/ . License: CC-BY-4.0. Accessed 2026-11-18.

- [S2] pod-qos.md (source page). kubernetes/website (GitHub). https://github.com/kubernetes/website/blob/main/content/en/docs/concepts/workloads/pods/pod-qos.md . License: CC-BY-4.0. Accessed 2026-11-18.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Pod Quality of Service Classes; kubernetes/website (GitHub), pod-qos.md (source page). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
