How did Argo CD handle drift or manual changes in the cluster?
IntermediateBehavioralKubernetes, GitOps & deployment strategy
Answer
Good answer looks like → "Automated sync with selfHeal: true and prune: true in production, so manual kubectl edits were reverted within minutes and removed resources were deleted. HPA-managed replicas were excluded with ignoreDifferences so Argo didn't fight the autoscaler."
syncPolicy:
automated:
prune: true
selfHeal: true
ignoreDifferences:
- group: apps
kind: Deployment
jsonPointers:
- /spec/replicas
Follow-ups to expect → Is prune dangerous? How do you do an emergency manual change?
Red flags → Auto-sync off everywhere so Git and the cluster drift apart.
More on Kubernetes, GitOps & deployment strategy
Why ArgoCD over Flux in your project?IntermediateHow was your GitOps repository structured?IntermediateHow many clusters did you run, and why?IntermediateWhat deployment strategy did you use and why?IntermediateHow did you set resource requests and limits?IntermediateHow did you expose services to the internet?Beginner