Interview Prep/Kubernetes/Cluster Design & Multi-Tenancy

How would you structure Git repositories and environments for GitOps?

IntermediateProductionCluster Design & Multi-Tenancy
Answer

Separate app source repos from an environment/config repo. In the config repo, a base plus overlays per environment (Kustomize or Helm values), promoted by pull request. Argo CD or Flux in each cluster pulls and reconciles, with prune and selfHeal enabled. Production changes need review, and drift from manual edits is reverted automatically.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Cluster Design & Multi-Tenancy