Wait for sync and health

Wait up to 120 seconds until the app is synced and healthy, useful in CI

argocd app wait myapp --sync --health --timeout 120

tool
argocd27 commands
tags
argocdci

More argocd commands

  • argocd proj create myproject --description 'Production apps' --dest 'https://kubernetes.default.svc,prod' --src 'https://github.com/org/*'

    Put apps into a project that allows only certain Git sources and target clusters

  • argocd app set <name> --helm-set image.tag=v2 --helm-set replicaCount=3

    Change Helm values live without touching Git; the app drifts from Git until you commit the change

  • argocd app set <name> -p key=val -p env=prod

    Set Kustomize or Helm parameter overrides with -p; for an audit trail, overlays in Git are better

  • argocd app manifests <name> | kubectl diff -f -

    Compare the manifests that Argo renders with the live cluster before you sync

  • argocd appset list && argocd appset get <name> -o yaml

    List ApplicationSets and show one with its generators and the apps it creates

all 27 argocd commands