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.git | Clone the lab |
argocd login <argocd-host>:<port> --username admin --insecure | Log in (prompts for the password) |
argocd cluster add <context> --name edge-cluster --yes | Register the target cluster |
Everyday CLI used throughout
argocd app list | All 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 list | ApplicationSets |