Explain GitOps and how an agent knows when to apply changes

Tests declarative infrastructure and pull-based reconciliation. A strong answer says Git is the source of truth and the agent polls or watches for drift, then applies diffs. Red flag: calling a push-based CI pipeline GitOps.
Tests whether you understand declarative infrastructure and the pull-based reconciliation loop that separates GitOps from CI/CD. A strong answer covers four things in order: first, Git is the single source of truth; second, the agent polls the repo or uses webhooks to detect commits; third, it compares desired state in Git against actual cluster state; fourth, it applies changes when drift is detected. Red flag: describing a push-based CI pipeline where Jenkins runs kubectl apply as GitOps, which misses reconciliation and self-healing.
Read the original → Wikipedia: GitOps
- #gitops
- #cicd
- #kubernetes
- #argo-cd
- #flux
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.