Argo CD — Level by Level›Hands-on lab · Cheat sheet & self-check

Hands-on lab · wrap-up

Cheat sheet & self-check

Every command from this section on one page.

09 · Hands-on lab: Argo CD deploying to a second cluster

Get the lab

git clone https://github.com/infra-ops-lab/argocd-gitops-lab.gitClone the lab
argocd login <argocd-host>:<port> --username admin --insecureLog in (prompts for the password)
argocd cluster add <context> --name edge-cluster --yesRegister the target cluster

Everyday CLI used throughout

argocd app listAll apps with sync and health
argocd app get <app>Per-resource status and the last error
argocd app diff <app>Git vs live
argocd app sync <app>Sync now instead of waiting for the poll
argocd app history <app>Deployed revisions
argocd appset listApplicationSets