Interview Prep/Kubernetes/Security: RBAC, ServiceAccounts & Pod Security

What is the difference between `system:masters` and `cluster-admin`?

IntermediateConceptSecurity: RBAC, ServiceAccounts & Pod Security
Answer

cluster-admin is a ClusterRole bound by RBAC; revoke the binding and access is gone. The system:masters group is hard-coded to bypass authorization and cannot be revoked via RBAC, so certificates with that group are a permanent backdoor. Avoid issuing client certs with it.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Security: RBAC, ServiceAccounts & Pod Security