86.10 Lab — private Git to Argo sync to auto sync
Story. You help a Zomato-style city menu API in Kolkata. Costs are tracked in INR. Your job on kind: install Argo CD, point at a Gitea or GitLab deploy repo (or a local Git server you control), sync menu-api, change replicas in Git, and watch automated sync apply it — without kubectl apply from your laptop.
Lab steps
- Confirm
kubectl get nodeson kind or Minikube. - Download official
install.yamlfrom Argo CD Getting Started docs; apply into namespaceargocd. - Wait for
kubectl -n argocd get podsto show Running. - Port-forward
argocd-serverand log in; change the admin password. - Put a tiny Deployment + Service YAML in a Git repo you own (Gitea/GitLab/forge). Path example:
apps/menu-api. - Register that repo in Argo CD (SSH deploy key or HTTPS token).
- Create Application
menu-apiwith destination namespacemenuandCreateNamespace=true. - Run
argocd app sync menu-apiandkubectl get pods -n menu. - Set automated sync with self-heal:
argocd app set menu-api --sync-policy automated --self-heal. - Commit a replica change in Git. Wait. Confirm pods scale without laptop kubectl apply.
- Optional: kubectl edit the Deployment; confirm self-heal restores Git.
What good looks like
- Application Sync Status is Synced and Health is Healthy after step 8.
- After the Git commit, Argo CD shows a new sync without you running kubectl apply.
- You can explain OutOfSync versus Degraded to a friend.
Do the lab with your own Git host. Watching a UI demo is not the same as fixing a ComparisonError yourself.
Lab स्वतःच्या Git host वर करा. UI demo बघणे आणि ComparisonError स्वतः सोडवणे एक नाही.
Lab अपने Git host पर करें. UI demo देखना और ComparisonError खुद ठीक करना एक नहीं है.
Did you understand? Let us try it once more.