After switching to annotation tracking, the UI shows every resource twice or many as "extraneous".
AdvancedTroubleshootingOutOfSync Loops & Diff Problems
Answer
Likely causes → Resources still have the old app.kubernetes.io/instance label and do not yet have the argocd.argoproj.io/tracking-id annotation; or operator-created objects copied the label and now look orphaned or extraneous.
Diagnose → kubectl get <kind> <name> -o yaml | grep -E 'instance|tracking-id'; argocd app get <app> for extraneous resources.
Fix → Sync each app once so the tracking annotation is written. Consider annotation+label during the transition. Mark operator-generated objects with IgnoreExtraneous.
Prevent → Plan the tracking change as a migration: staged, with syncs per app.
More on OutOfSync Loops & Diff Problems
An app flips between `Synced` and `OutOfSync` every few seconds and the sync history grows constantly.Intermediate`argocd app diff` shows only `replicas: 2` vs `replicas: 5` on a Deployment that has an HPA, and the app never stays Synced.BeginnerA MutatingWebhookConfiguration is always OutOfSync on `webhooks[0].clientConfig.caBundle`.IntermediateAfter installing Istio, every Deployment shows OutOfSync because of injected sidecar fields.IntermediateA ConfigMap is OutOfSync and the diff shows the same data in a different format (a number became a string).BeginnerA Deployment is OutOfSync on `resources.limits.cpu`: Git says `1000m`, live says `1`.Intermediate