intermediateSecurity: RBAC, Service Accounts & Pod Security Standards

What is the difference between what RBAC and Security Context control?

RBAC governs access to the Kubernetes API. Security Context governs what a container is allowed to do at the OS/kernel level once running. Completely independent layers.

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to Production incident with Security: RBAC, Service Accoun← Back to all Kubernetes questions