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.
More on Cluster Design & Multi-Tenancy
How many clusters should a company run, and how do you decide?BeginnerWhat namespace conventions and labels do you standardize on?BeginnerWhy should you never run workloads on the control plane nodes?BeginnerWhat is the minimum HA setup for a self-managed control plane?BeginnerWhat goes in a "cluster baseline" before apps are deployed?BeginnerWhy use separate node pools?Beginner