Introduction
Kubernetes controls access to its resources using RBAC, which stands for Role-Based Access Control. It helps keep your cluster safe by making sure only the right people or programs can do certain actions.
When you want to limit who can create or delete pods in your Kubernetes cluster.
When you need to give a developer permission to only view resources but not change them.
When you want to allow an automated system to update deployments but not access secrets.
When you want to prevent accidental or harmful changes by restricting permissions.
When you want to audit who did what by assigning clear roles and permissions.