Argo CD Cheat Sheet
GitOps continuous delivery — sync applications from Git to the cluster and keep drift under control.
Kubernetes3 sections · 23 commands
⌘K
Applications
11argocd app listApplications managed by the server
argocd app get APPStatus, health, sync state
argocd app create APP --repo URL --path manifests --dest-namespace NS --dest-server SERVERRegister an app
argocd app sync APPTrigger a sync
argocd app sync APP --pruneSync and delete removed resources
argocd app sync APP --forceSkip pre-sync hooks
argocd app diff APPLive vs Git drift
argocd app delete APPRemove the app (and --cascade)
argocd app set APP --auto-syncEnable automatic sync
argocd app history APPSync history
argocd app rollback APP IDRoll back to a sync
Auth & Access
7argocd login HOSTLog in to the argocd-server
argocd account update-passwordChange the current password
argocd reloginRefresh the session
argocd cluster add CONTEXTRegister a cluster from kubeconfig
argocd cluster listRegistered clusters
argocd repo listGit repositories with credentials
argocd repo add URL --username U --password PAdd a private repo
Troubleshooting
5argocd app get APP --show-operationOngoing operation details
argocd app resources APPResources the app owns
kubectl get app APP -n argocd -o yamlApplication CR full state
kubectl -n argocd logs deploy/argocd-application-controllerController logs
argocd app set APP --sync-policy automatedEnable auto-sync from CLI