Back to results for “App of Apps”
ArgoCD › Applications

What ApplicationSet generators exist and when do you use each?

Advanced

Answer

Generators include: List (static values), Cluster (per registered cluster), Git (per directory or from a config file in Git), Matrix (combine two generators), Merge (overlay generators), SCM Provider (per repo in an org), and Pull Request (per open PR, great for preview environments). You pick based on whether apps vary by cluster, directory, repo, or PR.
generators:
  - matrix:
      generators:
        - clusters: {}
        - git:
            directories: [{ path: apps/* }]
Real-world example A matrix generator crosses every cluster with every app directory to deploy all apps to all clusters from one ApplicationSet.

Common follow-ups: What is the Pull Request generator used for? | How does the Matrix generator combine inputs?