← All notes

Pod Security Standards define privileged, baseline and restricted levels enforced per namespace

Answer: The Pod Security Standards define three cumulative policies: Privileged, Baseline and Restricted. The Pod Security Admission Controller can enforce them, and restrictions are applied at the namespace level with pod-security.kubernetes.io/<MODE>: <LEVEL> labels. MODE must be one of enforce, audit, or warn.

The three levels

| Level | Meaning | |---|---| | Privileged | Unrestricted policy; allows known privilege escalations. Aimed at system- and infrastructure-level workloads. | | Baseline | Minimally restrictive policy which prevents known privilege escalations; allows the default Pod configuration. | | Restricted | Heavily restricted policy, following current Pod hardening best practices. |

If any listed container fails to meet the requirements, the entire pod will fail validation.

The three modes

metadata:
  labels:
    pod-security.kubernetes.io/enforce: baseline
    pod-security.kubernetes.io/warn: restricted

A pod-security.kubernetes.io/<MODE>-version label pins a Kubernetes minor version, or latest.

Gotcha

Audit and warning modes are applied to workload resources, but enforce mode is not applied to workload resources, only to the resulting pod objects.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Pod Security Standards; kubernetes/website (GitHub), Pod Security Admission (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.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Pod Security Standards; kubernetes/website (GitHub), Pod Security Admission (source page). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors.

Cite this

Permanent ID: iil:note:0vypt8ey

iinventedlight. 2026. "Pod Security Standards define privileged, baseline and restricted levels enforced per namespace." iinventedlight Library, iil:note:0vypt8ey, version of 2026-11-18. https://iinventedlight.com/library/notes/kubernetes-pod-security-standards/. License: CC-BY-4.0.

@misc{iil_note_0vypt8ey,
  author = {{iinventedlight}},
  title = {{Pod Security Standards define privileged, baseline and restricted levels enforced per namespace}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-18},
  url = {https://iinventedlight.com/library/notes/kubernetes-pod-security-standards/},
  note = {Permanent ID iil:note:0vypt8ey. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/kubernetes-pod-security-standards.md.