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 →
- PSA is built in with fixed profiles per namespace
- Kyverno and Gatekeeper add custom policies such as required labels, allowed registries, mandatory limits
- Kyverno also mutates and generates resources
- Use ValidatingAdmissionPolicy (CEL) for lightweight in-tree rules
- 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.
More on Security, RBAC and policy
A developer needs read-only access to one namespace. How do you grant it?BeginnerExplain the difference between Role, ClusterRole, RoleBinding and ClusterRoleBinding.IntermediateA CI pipeline needs to deploy to one namespace. What identity do you give it?IntermediateWhat does a ServiceAccount do and why should you disable the token automount?BeginnerHow do you let pods on EKS access S3 without static keys?IntermediateA pod has access to the node's IAM role through IMDS. How do you prevent credential theft?Advanced