Interview Prep/Kubernetes/Control plane, RBAC, webhooks and autoscaling

Creating a RoleBinding fails with `is attempting to grant RBAC permissions not currently held`.

IntermediateTroubleshootingControl plane, RBAC, webhooks and autoscaling
Answer

Likely causes → RBAC escalation prevention. You can only create or update a Role/binding that grants permissions you already hold, unless you have the escalate or bind verb on roles.

Diagnose →

kubectl auth can-i --list -n team-a

Fix → Have a cluster admin (or GitOps controller with the right permissions) create the binding, or grant the team-admin role the bind verb restricted to specific roles via resourceNames.

Prevent → Delegate RBAC management deliberately with bind on named ClusterRoles, not with cluster-admin.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Control plane, RBAC, webhooks and autoscaling