Skip to main content
InterviewHubPRO
Section Overview
Q27

Question 27 of 50

Part 3: Kubernetes Infrastructure as Code & GitOps (31 - 42)

54%
Terraform & IaC (50 Qs)•Part 3: Kubernetes Infrastructure as Code & GitOps (31 - 42)

What is GitOps, and how does ArgoCD continuously reconcile Kubernetes cluster state?

senior LevelMost AskedKubernetes

In Simple Words: GitOps is an operating model where a Git repository is the single source of truth for desired infrastructure and application state.

ArgoCD:

  • A Kubernetes controller running inside the cluster.
  • Continuously polls the Git repository and compares Git manifests with active cluster state.
  • Drift Detection: If an engineer manually edits a deployment with kubectl edit, ArgoCD detects out-of-sync status and automatically reverts the cluster to match Git (Self-Healing).