cd /news/developer-tools/argo-cd-3-6-server-side-diff-the-otl… · home › topics › developer-tools › article
[ARTICLE · art-182105] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Argo CD 3.6: Server-Side Diff, the OTLP Rename and the End of 3.3 Support

Argo CD 3.6, released November 3, 2026, with 3.6.1 following a day later, replaces the Structured-Merge Diff with a Server-Side Diff that runs a server-side apply dry-run against the kube-apiserver, triggered by the controller.diff.server.side flag, the ServerSideDiff=true compare option, or the ServerSideApply=true sync option. The release also renames the repo-server OTLP headers variable to ARGOCD_REPO_SERVER_OTLP_HEADERS, tightens TLS handling around otlp.insecure, and switches to parent-based trace sampling, while dropping support for 3.3.

key takeaway

Argo CD 3.6's Server-Side Diff runs a server-side apply dry-run against the kube-apiserver for Applications with ServerSideApply=true, adding apiserver load proportional to resource count but surfacing admission-webhook rejections at diff time; set argocd.argoproj.io/compare-options: ServerSideDiff=

by read6 min views6 publishedDec 4, 2026

Argo CD 3.6 is the sort of release that rarely breaks a cluster and quietly changes what your dashboards say. The headline item is not a flashy UI feature. It is how the controller decides whether an Application is Synced or OutOfSync, and that decision feeds your alerts, your auto-sync policies and the number of people who get paged.

The release landed on November 3, 2026, with 3.6.1 following a day later. This guide is built from the official 3.5 to 3.6 upgrade notes, the 3.6.1 release page and a write-up from EF-TECH, and we haven't run the upgrade ourselves. Read the notes below as a checklist to compare against your own setup rather than a tested runbook.

Before 3.6, an Application using the ServerSideApply=true sync option was compared using a Structured-Merge Diff, which approximated server-side apply merging locally. That strategy is removed. In 3.6, Server-Side Diff is used when any of these is true: the controller.diff.server.side flag is on, the argocd.argoproj.io/compare-options: ServerSideDiff=true annotation is set, or the Application enables ServerSideApply=true, which is the new trigger.

Instead of simulating the merge, Argo CD now runs a server-side apply dry-run against the kube-apiserver and compares what comes back. The upgrade notes say this costs extra kube-apiserver load proportional to the number of resources in Applications that use ServerSideApply=true. Results are cached, so requests happen on a refresh, a new revision, an Application spec change or a change to a resource's resourceVersion.

There is a genuine upside. Validating webhooks now take part in the diff stage, so a resource that an admission webhook would reject shows up as a diff error rather than failing only when someone hits Sync. If you have ever watched an app look healthy and then fail on sync, that is the class of problem this narrows.

If it causes trouble for a specific Application, the escape hatch is an annotation on that Application:

CodeCopy

metadata:

annotations:

argocd.argoproj.io/compare-options: ServerSideDiff=false

An explicit ServerSideDiff=false always wins and falls back to the legacy client-side diff. I'd use it as a short-term brake while you watch apiserver metrics, not as a permanent setting.

If you export traces from Argo CD, read this part twice. The repo-server now reads collector headers from ARGOCD_REPO_SERVER_OTLP_HEADERS instead of ARGOCD_REPO_OTLP_HEADERS, which matches the pattern the other components use. The default manifests already set the new name, so most people are unaffected, but a custom Deployment patch or Helm value that sets the old one will silently stop working because the old variable is no longer read.

Header values that contain an equals sign, such as base64 credentials, are now accepted. Previously such a value made every header get dropped, and the raw value was logged.

TLS handling also tightened. The otlp.insecure setting now fully decides whether the connection uses TLS. With the default of "true", Argo CD connects in plaintext. With "false", it trusts the CA configured for the collector host in argocd-tls-certs-cm and honors the standard OTEL_EXPORTER_OTLP_CERTIFICATE, client certificate, client key and headers variables. A component will fail to start if those point at an unreadable CA or an incomplete client certificate and key pair. Better a loud failure than a quiet plaintext link, but it is a reason to test in staging.

Sampling changed too. Argo CD used to sample every span. It now uses a parent-based sampler with a root rate set by --otlp-sample-ratio or the ARGOCD_COMPONENT_OTLP_SAMPLE_RATIO environment variable (substitute the component name), defaulting to 1.0. A sampling decision made by the service that starts a trace is honored downstream, so set the same ratio everywhere. One warning worth remembering: a request arriving with a W3C traceparent marked not sampled is no longer recorded, even at a ratio of 1.0. Out-of-range ratios are rejected at startup when given as a flag.

The instrumentation libraries were bumped as well, and the docs flag that otelgrpc now sets the server.address and server.port span attributes from the gRPC dial target rather than the resolved peer IP. A Grafana alert keyed on a literal pod IP for internal gRPC calls may need a rewrite.

Area Argo CD 3.5 behavior Argo CD 3.6 behavior
Diff for ServerSideApply=true apps Structured-Merge Diff, computed locally Server-Side Diff via apiserver dry-run
Repo-server OTLP headers variable ARGOCD_REPO_OTLP_HEADERS ARGOCD_REPO_SERVER_OTLP_HEADERS only
Trace sampling Every span sampled Parent-based, ratio defaults to 1.0
Default --local-include for server-side generate yaml, yml, json Adds tpl files and Chart.lock
Health event on status change Status transition only Adds a Caused by suffix, up to three resources

Most rows are small on their own. The first two are the ones that cause incidents, because they change behavior without an error message.

Running argocd app diff with --local and --server-side-generate now includes *.tpl helper files and Chart.lock by default. That means Helm charts with _helpers.tpl or pinned dependencies diff correctly without extra flags. The warning in the docs matters, though: passing --local-include on the command line replaces the defaults entirely, so a custom list that omits the two new entries keeps the old behavior.

ApplicationSets with progressive sync now add a refresh annotation to the Applications they own and wait for them to reconcile before deciding the next step. That makes decisions reflect actual state, and with many Applications you may see steps take longer. The built-in health checks for GitOps Promoter's PromotionStrategy and ChangeTransferPolicy now report Healthy instead of Progressing while a promotion is in flight, so any alert that treated Progressing as a promotion signal should read the health message or Promoter status instead.

The health event message gained a Caused by suffix, for example a Healthy to Degraded transition naming the Deployment responsible. If something parses those messages, make sure it tolerates the new text. During deletion, the default health check now lists pending finalizers, and checks can return an optional deletionMessage to explain a long wait.

On the security side, rollback now has its own RBAC permission, so you can grant sync without granting rollback. That is useful where reverting is riskier than applying what Git says. EF-TECH also notes a new OCI generator for ApplicationSets and a tpl function for rendering strings inside templates.

The 3.6.1 patch is short but matters if you serve Argo CD under a path prefix. Per the release comparison, it fixes webpack minifying index.html, which broke the --rootpath and --basehref options, and it fixes the sidebar failing to stay in sync after collapsing or expanding. If you run behind a proxy with a prefix, install 3.6.1 and skip 3.6.0 entirely.

The 3.6 release also moves the support window. EF-TECH reports that Argo CD 3.3 reached end of life with 3.6, meaning no more bug or security fixes. A KUBI write-up of the project's release cadence page says only the three most recent minor versions get patch releases, so a cluster still on 3.3 needs a plan. Read the upgrade notes for each minor you cross, 3.3 to 3.4, 3.4 to 3.5 and 3.5 to 3.6, instead of assuming the last page covers everything.

The release is large, with a changelog tracker counting 708 changes, but the real work for most teams is the diff change and a variable rename. Do those two checks and the rest is mostly improvement.

Originally published on Mango Developer.

── more in #developer-tools 4 stories · sorted by recency
── more on @argo cd 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/argo-cd-3-6-server-s…] indexed:0 read:6min 2026-12-04 · —