k8s-argocd-troubleshooting
Argo CD troubleshooting
Find out why Argo CD does not deploy or update an application, and propose a fix. Read first, ask before changing. Run the investigation commands freely. Run a command under an "Ask first" line only after the user approves that exact command; if your credentials do not allow it, give it to the user to run. Never run a "Proposed fix"; hand it to the user.
An Application says: render this path of this repository at this revision, and
apply it to this destination. Argo CD compares the rendered manifests with the cluster
and reports two things: sync status (does the cluster match Git: Synced,
OutOfSync, Unknown) and health (do the deployed objects work: Healthy,
Progressing, Degraded, Missing, Suspended). Conditions on the Application say
why it could not compare or sync. An AppProject limits which repositories,
destinations and kinds an Application may use.
The commands use placeholders: argocd (where Argo CD and its Applications live, the
default), my-app (the Application) and my-namespace (where it deploys). Replace them
with the real names.