Chapter 86: Argo CD (GitOps)
Friends, today we learn Argo CD — GitOps for Kubernetes. Git holds the desired state. Argo CD watches that Git repo and makes the cluster match it. You stop running kubectl apply from your laptop for every release. Keep a kind or Minikube cluster ready; we install Argo CD into it.
मित्रांनो, आज Argo CD शिकतो — Kubernetes साठी GitOps. Git मध्ये desired state असते. Argo CD तो repo पाहते आणि cluster जुळवते. प्रत्येक release साठी laptop वरून kubectl apply थांबते. kind किंवा Minikube तयार ठेवा.
दोस्तों, आज Argo CD सीखते हैं — Kubernetes के लिए GitOps. Git में desired state रहता है. Argo CD उस repo को देखता है और cluster मिलाता है. हर release के लिए laptop से kubectl apply बंद होता है. kind या Minikube तैयार रखें.
What you will learn in this chapter
- Why GitOps beats kubectl from every laptop
- Install Argo CD on kind (and what changes on EKS)
- Application CR: repo, path, destination
- Sync policies: manual, automated, self-heal, prune
- Multi-env with apps-of-apps or ApplicationSet
- Helm and Kustomize as sources
- Projects, RBAC and SSO awareness
- Diff, sync waves and hooks
- Fix OutOfSync and degraded health
- A lab: private Git → sync → change → auto sync
Where this sits. Chapter 85 taught Helm charts. Chapter 82 project 85 practiced a GitOps loop as a project. This chapter teaches Argo CD itself, step by step. Prometheus deep-dive comes next as chapter 87.
Concepts in this chapter
- 86.1Why GitOps — kubectl from laptops versus desired state in Git
- 86.2Install Argo CD on kind (EKS awareness)
- 86.3Application CR — repo, path, destination
- 86.4Sync policies — manual, automated, self-heal, prune
- 86.5Multi-env — apps of apps or ApplicationSet
- 86.6Helm and Kustomize sources
- 86.7RBAC, AppProjects and SSO awareness
- 86.8Diff, sync waves and hooks
- 86.9Troubleshooting OutOfSync and health degraded
- 86.10Lab — private Git to Argo sync to auto sync
- 86.11Comparison, interview questions and revision
The chapter recap is at the end of the last concept page.