Diff rendered manifests against the cluster

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

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

tool
argocd27 commands
tags
argocdgitopstroubleshootingdebug

More argocd commands

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

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

  • argocd repo add https://git.example.com/repo.git --username <id> --password $TOKEN

    Register an HTTPS repo with a username and token; for SSH use --ssh-private-key-path

  • argocd app patch <name> --patch '{"spec":{"source":{"targetRevision":"v2.1"}}}' --type merge

    Merge-patch the app spec without editing the CR, a quick way to change targetRevision

  • argocd app terminate-op <name>

    Cancel a running sync that is stuck on a hook or a pending resource

  • argocd app actions run <name> restart --kind Deployment --resource-name <id>

    Start a rollout restart of a Deployment through Argo resource actions

all 27 argocd commands