GitOps & ArgoCD (50 Qs)•Part 1: GitOps Fundamentals & Core Principles (Junior / Entry-Level)
What is Configuration Drift and how does ArgoCD detect it?
junior LevelTerraform & IaC
In Simple Words: Configuration Drift happens when the running state of a Kubernetes cluster diverges from the version-controlled configuration in Git (caused by manual emergency hotfixes, rogue scripts, or malicious actors).
- ArgoCD continuously monitors Kubernetes API watch events.
- It normalizes both the live object and the Git-rendered object (ignoring dynamic runtime fields like
statusorcreationTimestamp). - If an unauthorized difference is detected, the application status turns OutOfSync, and if
selfHealis enabled, ArgoCD restores the Git configuration immediately.