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
enforce: policy violations will cause the pod to be rejected.audit: violations add an audit annotation to the event recorded in the audit log, but are otherwise allowed.warn: violations trigger a user-facing warning, but are otherwise allowed.
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
- id: C1 claim: The standards define three cumulative policies. source: S1 evidence: "define three different policies to broadly cover the security spectrum"
- id: C2 claim: Baseline prevents known privilege escalations. source: S1 evidence: "Minimally restrictive policy which prevents known privilege escalations"
- id: C3 claim: Enforce-mode violations reject the pod. source: S2 evidence: "Policy violations will cause the pod to be rejected."
- id: C4 claim: Enforce mode applies only to resulting pod objects. source: S2 evidence: "enforce mode is not applied to workload resources, only to the resulting pod objects"
Sources
- [S1] Pod Security Standards. Kubernetes docs. https://kubernetes.io/docs/concepts/security/pod-security-standards/ . License: CC-BY-4.0. Accessed 2026-11-18.
- [S2] Pod Security Admission (source page). kubernetes/website (GitHub). https://github.com/kubernetes/website/blob/main/content/en/docs/concepts/security/pod-security-admission.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 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
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.},
}
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.
- kubernetes-pod-security-standards.table.json (table; CC-BY-4.0)
- kubernetes-pod-security-standards.schema.json (schema; CC-BY-4.0)
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.