Interview Prep/Kubernetes/Security, RBAC and policy

What is the difference between PSA and Kyverno or Gatekeeper?

IntermediateScenarioSecurity, RBAC and policy
Answer

Situation read → The security team asks whether PSA is enough.

What I'd do →

  1. PSA is built in with fixed profiles per namespace
  2. Kyverno and Gatekeeper add custom policies such as required labels, allowed registries, mandatory limits
  3. Kyverno also mutates and generates resources
  4. Use ValidatingAdmissionPolicy (CEL) for lightweight in-tree rules
  5. Run policies in audit mode before enforce

Why → Different layers: PSA for baseline pod hardening, policy engines for organisation rules.

Interview tip → Mention ValidatingAdmissionPolicy GA.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Security, RBAC and policy