argocd app command provides comprehensive application management capabilities including creation, synchronization, deletion, and monitoring.
Quick Examples
Subcommands
create
Create a new application.- Git Repository
- Helm Chart
- Kustomize
- Auto-Sync
Create from a Git repository:
string
required
Repository URL
string
required
Path in repository to the app directory
string
required
Kubernetes target namespace
string
required
Kubernetes cluster URL (e.g., https://kubernetes.default.svc)
string
Set sync policy:
manual, automated, auto, or automaticboolean
Automatically prune resources no longer defined in Git
boolean
Automatically sync when cluster state deviates from Git
list
List all applications.get
Get application details.sync
Synchronize application to its target state.- Basic Sync
- By Label
- Specific Resources
- With Options
boolean
Allow deleting unexpected resources
boolean
Preview apply without affecting cluster
boolean
Use a force apply
boolean
Do not wait for application to sync before continuing
string[]
Sync only specific resources as GROUP:KIND:NAME
integer
Time out after this many seconds
diff
Perform a diff against the target and live state.set
Set application parameters.unset
Unset application parameters.delete
Delete an application.wait
Wait for application to reach a synced and healthy state.history
Show application deployment history.rollback
Rollback application to a previous deployed version.manifests
Print manifests of an application.logs
Get logs of application pods.resources
List resources of application.patch
Patch application specifications.edit
Edit application in default editor.$EDITOR.
terminate-op
Terminate running operation of an application.Advanced Features
Multi-Source Applications
Resource Actions
Resource Operations
Common Workflows
Deploy New Version
Emergency Rollback
Debug Application
Next Steps
ApplicationSets
Manage ApplicationSets for multiple apps
Projects
Organize apps with projects