Interview Prep/Azure/AKS and Containers

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 →

  1. Namespace per team per environment, Azure RBAC roles at namespace scope bound to team groups
  2. ResourceQuota and LimitRange per namespace
  3. Default-deny NetworkPolicy (Cilium) per namespace, explicit allow for ingress controller and shared services
  4. Pod Security Admission restricted labels, Azure Policy for allowed registries
  5. Separate workload identities per team; Key Vault per team
  6. 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.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and Containers