Sync an application
Trigger sync and prune removed resources
argocd app sync myapp --prune
More argocd commands
-
argocd app get myapp --refreshForce ArgoCD to re-fetch manifests from Git
-
argocd app diff myappShow what would change if the app were synced now
-
argocd app rollback myapp 3Rollback to revision 3 of the application history
-
argocd app create myapp --repo https://github.com/org/repo --path k8s/prod --dest-server https://kubernetes.default.svc --dest-namespace default --sync-policy automatedDeclaratively create an ArgoCD app with auto-sync
-
argocd app delete myapp --cascade=falseRemove ArgoCD app object without deleting Kubernetes resources