Configure an Argo CD ApplicationSet with the Matrix generator combining cluster and git generators to fan out applications across multiple clusters and directories

domain: argo-cd.readthedocs.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Define the Matrix generator in the ApplicationSet spec with two nested generators: a clusters generator referencing your cluster secrets and a git directories generator pointing to your app path structure
  2. Set template parameters using generator output variables such as cluster server URL, cluster name, and git directory path to construct unique application names and destination namespaces
  3. Add a syncPolicy with automated prune and selfHeal, and configure ignoreDifferences for fields like replicas that are managed externally by HPA
  4. Apply the ApplicationSet manifest to the Argo CD namespace and verify the generated Application objects via the Argo CD UI or CLI
  5. Validate that each cluster received its corresponding application and that sync status is healthy across the matrix product of clusters and directories

Known gotchas

Related routes

Deploy an ApplicationSet with the cluster generator for multi-cluster GitOps in Argo CD
argo-cd.readthedocs.io · 6 steps · unrated
Generate Argo CD Applications dynamically with an ApplicationSet Git directory generator
argo-cd.readthedocs.io · 6 steps · unrated
Auto-discover repositories across a GitHub organization and generate Argo CD Applications with the ApplicationSet SCM Provider generator
argo-cd.readthedocs.io · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans