Role or ClusterRole?
Three ways to combine a role and a binding, and the question that tells you which one you need.
Skill labintermediate~25 minPro
What you'll do
- ✓Identify resources that no Role can ever grant
- ✓Reuse a built-in ClusterRole with a namespace-scoped binding
- ✓Choose deliberately between the three role/binding combinations
- ✓Keep a cluster-wide grant narrow
Lab outline
- 01Some resources have no namespace
- 02Someone else's definition, your scope
- 03Genuinely cluster-wide
Before you start
- Writing Roles, ClusterRoles, and both kinds of binding
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.