Comparing resources¶
The Diff page puts two resources side by side and highlights what's different — across clusters, namespaces or kinds. "Why does this work in staging but not prod?" usually has its answer here.
Picking two sides¶
Open Diff from the nav (or Ctrl+K → Go to Diff). For each side, choose:
- Cluster — any of your selected contexts,
- Kind,
- Namespace (for namespaced kinds),
- Name.
The two objects render in a Monaco diff view — the same side-by-side diff you know from VS Code.
Normalise the noise¶
Server-set fields make almost any two objects look different — resourceVersion, uid,
creationTimestamp, status, managed-fields. The Normalise toggle (on by default)
strips that noise so you see the differences that matter: spec, labels, the things you
actually set.
Turn it off when you specifically want to compare status or server metadata.
Good things to diff¶
- The same ConfigMap or Deployment in two clusters (staging vs prod).
- A resource before and after an edit (compare it to a known-good copy).
- Two similar workloads in different namespaces.
See also¶
- Resource details & YAML — edit once you've spotted the difference
- Helm releases — compare what two releases rendered