You need different teams to share one AKS cluster safely. How do you set up multi-tenancy?
AdvancedScenarioAKS and Containers
Answer
Situation read → Soft multi-tenancy: namespaces with RBAC, quotas, network policies, and policy enforcement.
What I'd do →
- Namespace per team per environment, Azure RBAC roles at namespace scope bound to team groups
ResourceQuotaandLimitRangeper namespace- Default-deny
NetworkPolicy(Cilium) per namespace, explicit allow for ingress controller and shared services - Pod Security Admission
restrictedlabels, Azure Policy for allowed registries - Separate workload identities per team; Key Vault per team
- Dedicated node pools with taints for teams with special needs
Why → Each layer limits a different blast radius: access, resources, network, runtime.
Interview tip → Say when you'd give separate clusters instead: hostile tenants or strict compliance boundaries.
More on AKS and Containers
You're asked to build a production AKS cluster. Walk through your key decisions.IntermediateA team wants to deploy a new microservice to AKS that reads a database password. How do you wire secrets?BeginnerYou need to upgrade a production AKS cluster from 1.31 to 1.33. Plan it.AdvancedPods need to scale on Service Bus queue length, not CPU. How?AdvancedYou need to run a GPU workload on an existing AKS cluster. What do you do?IntermediateA noisy application keeps starving other workloads on shared nodes. How do you fix it?Beginner