Interview Prep/CI/CD/Deployment Strategies and GitOps

What is configuration drift and how does GitOps handle it?

IntermediateConceptDeployment Strategies and GitOps
Answer

Drift is when live infrastructure differs from the declared definition, because someone ran kubectl edit or changed a console setting. GitOps controllers continuously diff desired and live state; with self-heal they revert the manual change, and without it they flag the app as OutOfSync and alert. The fix for drift is always through Git, so the audit trail stays accurate.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Deployment Strategies and GitOps