Kubernetes (K8s) (50 Qs)•Part 3: Advanced Internals, Scale & Production Security (Senior / Lead)
Pod Security Standards (PSS) and Security Context.
senior LevelMost AskedSecurity & AuthKubernetes
In Simple Words: Replaces legacy PodSecurityPolicies (PSP) with three admission levels applied via namespace labels:
- Privileged: Unrestricted execution (system components, network daemons).
- Baseline: Minimally restrictive; blocks known privilege escalations.
- Restricted: Strictly enforced hardening: mandatory non-root user, read-only root filesystems, dropping all Linux capabilities, and disallowing host ports/paths.