Interview Prep/Kubernetes/Cluster Design & Multi-Tenancy

Namespace per environment or per team: which do you pick?

BeginnerProductionCluster Design & Multi-Tenancy
Answer

Separate environments belong in separate clusters (or at least separate node pools and accounts), not just namespaces. Inside a cluster, we use a namespace per team or per application, and attach RBAC, ResourceQuota, LimitRange and default-deny NetworkPolicy to each namespace through a template or GitOps.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Cluster Design & Multi-Tenancy