86.11 Comparison, interview questions and revision
Comparison — Argo CD vs Flux vs Jenkins deploy
Use the card below (loads from your S3 cards bucket). Then read the short table.
| Approach | Best when | Weak when |
|---|---|---|
| Argo CD | Kubernetes GitOps with UI, multi-tenancy, Helm/Kustomize | Non-Kubernetes targets need other tools |
| Flux | Kubernetes GitOps, GitOps Toolkit style, strong automation | Different UX; learn controllers and CRDs |
| Jenkins deploy stage | Builds images and can call kubectl/Helm | Easy to become push-from-CI without Git as truth |
Interview questions
- What is GitOps? — Desired state in Git; a controller makes the cluster match it.
- What is an Argo CD Application? — CR that links repo + path + revision to a destination cluster/namespace.
- Manual vs automated sync? — Manual needs a human Sync; automated applies new Git commits.
- selfHeal vs prune? — selfHeal reverts live drift to Git; prune deletes objects removed from Git.
- App of apps vs ApplicationSet? — App of apps deploys Application YAMLs; ApplicationSet generates Applications.
- Helm with Argo CD? — Point at a chart path; use
helm.valueFilesor parameters; repo-server renders. - Synced but Degraded? — Manifests match Git, but pods/workloads are unhealthy — debug Kubernetes, not only Argo.
Revision checklist
- [ ] I can explain why GitOps beats random kubectl from laptops.
- [ ] I can install Argo CD on kind from the official docs manifest.
- [ ] I can create an Application with repo, path and destination.
- [ ] I can sync manually and enable automated sync with self-heal.
- [ ] I can read diff, sync status and health status.
- [ ] I know AppProject is the multi-team boundary.
Quick quiz
Q1. Name three GitOps tools or styles you should know in interviews.
Argo CD, Flux, and push-style CI deploy (for example Jenkins) as a contrast.
Q2. Which object links Git to a namespace?
The Argo CD Application (and AppProject for boundaries).
Q3. What should you run before a risky prod sync?
argocd app diff (and read the change window / advisory).
Ravindra Bagale's Tip
In interviews, say why then what then how, and finish with one command from this lab — for example argocd app sync.
मुलाखतीत why नंतर what नंतर how सांगा, आणि या lab मधील एक command सांगून संपवा — उदाहरण argocd app sync.
इंटरव्यू में why फिर what फिर how कहें, और इस lab की एक command बताकर खत्म करें — जैसे argocd app sync.
In short
- GitOps keeps desired state in Git; Argo CD syncs Kubernetes to match it.
- Learn Application, sync policies, diff and health before ApplicationSet.
- Use AppProjects and SSO before you share a cluster across teams.
- Helm and Kustomize work as sources; chapter 85 charts plug in here.
- Next teaching chapter: Prometheus and Grafana deep dive (chapter 87).
Did you understand? Let us try it once more.