Sync an application argocd
Trigger sync and prune removed resources
argocd app sync myapp --prune
more argocd
all 27 commands →
Force refresh (bypass cache)
argocd app get myapp --refresh
Show app diff vs cluster
argocd app diff myapp
Rollback to previous version
argocd app rollback myapp 3
Create application from CLI
argocd app create myapp --repo https://github.com/org/repo --path k8s/prod --dest-server https://kubernetes.default.svc --dest-namespace default --sync-policy automated
Delete application (keep resources)
argocd app delete myapp --cascade=false