Skip to content
Opsfolk

Security, topic 44 of 61

Pod security

A security context sets what a container may do on its node: run as a non-root user, a read-only root filesystem, dropped Linux capabilities, no privilege escalation, and a seccomp profile.

The Pod Security Standards name three levels, privileged, baseline and restricted. Pod Security Admission enforces one per namespace by a label, and can warn or audit before it refuses. Aim for restricted for applications; a cluster agent may need baseline or more.

On Opsfolk

Elsewhere

Your progress