Interview Prep/GitOps & Argo CD/Environments, ApplicationSets & Multi-Cluster

A product team wants their own namespace in every cluster with the same RBAC and quotas. How do you automate it?

IntermediateScenarioEnvironments, ApplicationSets & Multi-Cluster
Answer

Situation read → Tenant onboarding across the fleet.

What I'd do →

  1. A tenants/ folder with one file per team: name, quotas, groups.
  2. ApplicationSet with a matrix of cluster generator times git files generator on tenants/*.yaml, rendering a tenant Helm chart (Namespace, ResourceQuota, LimitRange, RoleBindings, NetworkPolicy).
  3. Owned by the platform project, so teams cannot alter quotas.

Why → One file per team, rendered everywhere, consistent and reviewable.

Interview tip → Mention Capsule or hierarchical namespaces as alternatives for large multi-tenant setups.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Environments, ApplicationSets & Multi-Cluster