Diff rendered manifests vs cluster

Diff Argo-rendered manifests against live cluster state before syncing

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/get ApplicationSets and their generated child apps and generators

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

    Register HTTPS repo with creds; modern: --ssh-private-key-path for SSH-based access

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

    Merge-patch app spec without editing the CR; useful to bump targetRevision fast

  • argocd app terminate-op <name>

    Cancel an in-progress sync stuck on a hook or pending resource

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

    Trigger a Deployment rollout restart through Argo's resource actions

all 27 argocd commands