implementing-pod-security-admission-controller

Featured

Implement Kubernetes Pod Security Admission to enforce baseline and restricted security profiles at namespace level using built-in admission controller.

AI & Automation 12,642 stars 1468 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Implementing Pod Security Admission Controller ## Overview Pod Security Admission (PSA) is a built-in Kubernetes admission controller (stable since v1.25) that enforces Pod Security Standards at the namespace level. It replaces the deprecated PodSecurityPolicy (PSP) and provides three security profiles: Privileged, Baseline, and Restricted, with three enforcement modes: enforce, audit, and warn. ## When to Use - When deploying or configuring implementing pod security admission controller capabilities in your environment - When establishing security controls aligned to compliance requirements - When building or improving security architecture for this domain - When conducting security assessments that require this implementation ## Prerequisites - Kubernetes v1.25+ (PSA is stable/GA) - kubectl with cluster-admin access - No dependency on external tools - PSA is built into kube-apiserver ## Pod Security Standards ### Privileged Profile - **Unrestricted** - No restrictions applied - Use case: System-level pods (kube-system, monitoring) ### Baseline Profile - **Minimally restrictive** - Prevents known privilege escalation - Blocks: privileged containers, hostPID, hostIPC, hostNetwork, hostPorts, certain volume types, adding capabilities beyond runtime defaults ### Restricted Profile - **Heavily restricted** - Follows security best practices - Requires: non-root, drop ALL capabilities, seccomp RuntimeDefault, read-only root filesystem considerations - Blocks: Everythi...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
3 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category