Skip to main content
InterviewHubPRO
Section Overview
Q41

Question 41 of 50

Part 3: Enterprise Scale, Security & Edge GitOps (Senior / Staff)

82%
GitOps & ArgoCD (50 Qs)•Part 3: Enterprise Scale, Security & Edge GitOps (Senior / Staff)

Managing GitOps Drift: Self-Heal vs Automated Notifications (Slack, PagerDuty).

senior LevelCode ExampleSecurity & AuthTerraform & IaC

In Simple Words: When someone runs manual kubectl edit or an operator modifies live resources:

  • selfHeal: true: ArgoCD automatically overwrites the live state within minutes to match Git, instantly neutralizing manual modifications.
  • Notification Approach (selfHeal: false): Useful for debugging incidents where immediate rollback could disrupt live troubleshooting. ArgoCD flags the application as OutOfSync and fires a Slack or PagerDuty alert via the Argo CD Notifications engine.
yaml
spec:
  syncPolicy:
    automated:
      prune: true
      selfHeal: true