What does a typical multi-team config repo layout look like?
IntermediateConceptRepo Structure, Flux, Scaling & DR
Answer
platform/ # cluster add-ons, owned by platform team
ingress-nginx/ cert-manager/ monitoring/
apps/
payments/
base/
overlays/{dev,staging,prod}/
checkout/
chart-values/{dev,staging,prod}.yaml
clusters/
prod-eu/ prod-us/ # per-cluster bootstrap (root apps, cluster-specific values)
bootstrap/ # AppProjects, ApplicationSets
CODEOWNERS maps apps/payments/ to the payments team and platform/ to platform engineers. ApplicationSets generate apps from the directories.
More on Repo Structure, Flux, Scaling & DR
Why separate the application source repo from the config (GitOps) repo?BeginnerFolders per environment or branches per environment?IntermediateHow do you promote a release from staging to production in GitOps?IntermediateHow does Flux differ from Argo CD architecturally?IntermediateWhen would you pick Flux over Argo CD, and vice versa?IntermediateHow do you bootstrap Flux on a cluster?Intermediate