Sync an application

Trigger sync and prune removed resources

argocd app sync myapp --prune

tool
argocd27 commands
tags
argocd

More argocd commands

  • argocd app get myapp --refresh

    Force ArgoCD to re-fetch manifests from Git

  • argocd app diff myapp

    Show what would change if the app were synced now

  • argocd app rollback myapp 3

    Rollback 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 automated

    Declaratively create an ArgoCD app with auto-sync

  • argocd app delete myapp --cascade=false

    Remove ArgoCD app object without deleting Kubernetes resources

all 27 argocd commands