Configure ArgoCD ignoreDifferences with managedFieldsManagers to suppress Server-Side Apply field manager drift on Deployments

domain: argo-cd.readthedocs.io · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Identify which fields cause spurious OutOfSync by running argocd app diff <app-name> and noting fields injected by controllers (e.g., kube-controller-manager injecting default tolerations)
  2. Add an ignoreDifferences entry in the Application spec: spec.ignoreDifferences[].group: apps, kind: Deployment, managedFieldsManagers: ["kube-controller-manager"]
  3. Alternatively use jqPathExpressions for fine-grained field suppression: spec.ignoreDifferences[].jqPathExpressions: [".spec.template.spec.tolerations"]
  4. Set spec.syncPolicy.syncOptions: [RespectIgnoreDifferences=true] so that the ignored fields are also excluded from sync comparison and ArgoCD does not patch them away on next sync
  5. Refresh the app with argocd app get <app-name> --refresh and verify the Sync Status shows Synced without the previously drifting fields triggering OutOfSync
  6. For cluster-scoped resources, confirm the ignoreDifferences entry includes the correct group and kind (empty group for core resources)

Known gotchas

Related routes

Configure Argo CD ignoreDifferences with jqPathExpressions to suppress HPA-managed replica and operator-injected annotation drift
argo-cd.readthedocs.io · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans