argocd appset command manages ApplicationSets, which enable you to use templating to automatically generate multiple Argo CD applications.
Quick Examples
What are ApplicationSets?
ApplicationSets provide a way to automatically generate Argo CD applications using templates and generators. They’re useful for:- Deploying the same application to multiple clusters
- Managing multi-tenant environments
- Implementing monorepos with multiple applications
- Automating application creation from Git repositories
Subcommands
create
Create one or more ApplicationSets from YAML files.applicationset.yaml
boolean
Update the ApplicationSet if it already exists
boolean
default:"true"
Validate the ApplicationSet before creating
list
List all ApplicationSets.get
Get ApplicationSet details.delete
Delete one or more ApplicationSets.boolean
Skip confirmation prompt
generate
Generate and render ApplicationSet templates without creating applications.ApplicationSet Generators
List Generator
Generate applications from a static list of parameters:Git Generator
Generate applications from Git repository structure:Cluster Generator
Generate applications for all registered clusters:Matrix Generator
Combine multiple generators:Common Workflows
Multi-Cluster Deployment
multi-cluster-appset.yaml
Monorepo with Multiple Apps
monorepo-appset.yaml
Testing ApplicationSet Templates
Update ApplicationSet
Monitoring ApplicationSets
Troubleshooting
Validate Template Rendering
Check ApplicationSet Status
Debug Generator Issues
Best Practices
- Use descriptive names for generated applications with template variables
- Test ApplicationSets with
generatebefore creating them - Use labels to organize generated applications
- Consider using sync waves for ordered deployment
- Document generator parameters for team members
Next Steps
App Commands
Manage generated applications
Cluster Commands
Register clusters for multi-cluster deployment