argocd-applicationset-patterns
Argo CD ApplicationSet Patterns
Purpose
Hand-maintaining one Application manifest per service-per-environment or
per-cluster does not scale: N services × M environments quickly becomes
hundreds of near-duplicate YAML files that drift from each other in subtle
ways. ApplicationSet solves this by templating Application objects from
one or more generators — a list, a cluster registry, a Git repo's
directory/file structure, or a combination — so that adding a new
environment, cluster, or service directory automatically produces (and
later, automatically removes) the corresponding Application, with no
manual manifest authored per instance. This matters operationally because
it turns fleet-wide rollout consistency from a copy-paste discipline
problem into a generator-configuration problem, and it's the mechanism
that makes gitops-multi-cluster-management's
hub-and-spoke topology actually maintainable at scale.