What is server-side diff, and why use it?
AdvancedConceptSync Waves, Hooks, Health & Diffing
Answer
Enabled with argocd.argoproj.io/compare-options: ServerSideDiff=true on an app or controller.diff.server.side: "true" globally. Argo CD sends a server-side apply dry-run of the desired manifest and compares the API server's result with live. Defaulting, mutating webhooks and field ownership are applied as the server would, which eliminates most false OutOfSync caused by defaulted fields and admission webhooks. Cost: one dry-run request per resource on comparison (cached per revision).