DevOps Interview DropExpert TierScenario+100 XP on read
Git is the source of truth, but production differs from Git. How do you prove where the drift happened?
Core Summary
Compare state at each stage, Git, rendered manifests, what was applied, and the live cluster, and use Kubernetes' own metadata to name the culprit. managedFields records which controller last wrote each field, which usually answers the question outright without any guessing.
Hints
Hint 1: Diff at each stage, not just Git versus live
Hint 2: managedFields records who wrote each field
Hint 3: Some drift is legitimate and should be excluded
Reported in interviews at Red Hat, Google, Datadog