Menu

1 / 3

Locking Down Kubernetes RBAC in a Multi-Tenant Cluster

DEV Community: kubernetes·DevOpsInterview.Cloud·about 5 hours ago
#tjuoKCZ8
#devtokubernetes#devto#dev#namespace#rbac
Reading 0:00
15s threshold

A new product team is onboarding onto your shared cluster. Their developers need to deploy to their own namespace, their CI pipeline needs to roll deployments and run database migrations, and the security auditor wants proof that no tenant identity can touch another team's workloads. Design it. This scenario shows up in interviews for the same reason it shows up in real platform work: it cannot be answered by reciting object names. It tests whether you can turn four RBAC primitives into a working permission model, and whether you know the handful of places where a copy-pasted ClusterRoleBinding hands someone the whole cluster.

The video version walks the same design if you prefer to watch it:

The four objects, and where identities actually come from

RBAC in Kubernetes is four kinds of object. A Role is a list of allowed verbs on resources, scoped to one namespace.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.