Interview Prep/DevSecOps/Kubernetes Security

What are the three Pod Security Standards?

BeginnerConceptKubernetes Security
Answer
  • Privileged: no restrictions. For system components such as CNI and storage drivers.
  • Baseline: blocks known privilege escalations: privileged containers, hostNetwork/hostPID/hostIPC, hostPath, added dangerous capabilities, hostPort.
  • Restricted: baseline plus hardening: runAsNonRoot, allowPrivilegeEscalation: false, drop ALL capabilities, seccomp RuntimeDefault or Localhost, limited volume types.

Our default is restricted for application namespaces, baseline only with a documented reason, privileged only for kube-system-style namespaces.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Kubernetes Security