Skip to content

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.

A side-by-side resource diff A side-by-side resource diff
Two objects, side by side, with the differences highlighted.

Picking two sides

Open Diff from the nav (or Ctrl+KGo 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