jarvisbox

K8s Deployment Diff Tool

Kubernetes Deployment manifests contain dozens of nested fields: replica counts, container images, resource requests and limits, environment variables, volume mounts, probes, and strategy settings. When a deployment is updated — especially via CI/CD automation or Helm — quickly understanding what changed is essential for safe rollouts and incident response.

This tool compares two Deployment YAML documents and presents the diff as a structured list of field changes. Each changed field is shown with its path (e.g. spec.replicas, spec.template.spec.containers[0].image, spec.template.spec.containers[0].resources.requests.cpu), the old value in red, and the new value in green. Added fields appear with a + prefix and removed fields with a − prefix.

Because the diff is semantic rather than textual, trivial formatting differences — different indentation, reordered map keys, added comments — do not appear in the output. Only changes that affect the actual deployed configuration are shown. Paste the output of kubectl get deployment <name> -o yaml before and after a change to immediately see what the cluster update will apply.

Open YAML Semantic Diff →

How to use

  1. Paste your original YAML (Helm values, K8s manifests, or any multi-document stream) into the Before box.
  2. Paste the updated version into the After box. Enable Key docs by kind+name for Kubernetes streams.
  3. Click Compare to see the semantic diff, then use Copy as kubectl patch to export a merge patch.

Related tools

反馈这个工具的问题