Partial sync of single resource

Sync only one resource by group:kind:name; isolates a fix without full app sync

argocd app sync <name> --resource apps:Deployment:<id>

tool
argocd27 commands
tags
argocdgitopstroubleshootingk8s

More argocd commands

  • argocd login argocd.example.com --username admin --password $(kubectl get secret argocd-initial-admin-secret -n argocd -o jsonpath='{.data.password}' | base64 -d)

    Authenticate argocd CLI using the initial admin secret

  • argocd app list

    Show all ArgoCD applications with sync/health status

  • argocd app sync myapp --prune

    Trigger sync and prune removed resources

  • 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

all 27 argocd commands