Skip to content

Comparing resources

The Diff page puts two resources side by side and highlights what's different. The two sides can come from different 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 such as resourceVersion, uid, creationTimestamp, status and managed-fields make almost any two objects look different. The Normalise toggle (on by default) strips that noise so you see the differences that matter: spec, labels and the other 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