🧭

DriftScope / Config Drift Checker

Git against what’s running · Kubernetes · Terraform state · any JSON or YAML · in your browser
MYSYSAD.COM zero-upload · local only
Compare two configurations JSON or YAML, either side
Git, IaC: how it should be —
what is running now —
Ignore (0)

One per line. A plain key name is ignored everywhere; a path can use * for one level and ** for any. What Kubernetes fills in itself and Terraform’s state bookkeeping are set aside without this, and counted.

Compared as you type, in your browser; nothing is sent.

Enterprise DriftScope Pro
Tired of exporting configs manually? A future DriftScope Enterprise could connect directly to your infrastructure.
Connect to AWS, GCP, Azure, and Kubernetes APIs to detect drift in real-time — automatically, continuously, on every deploy. Get Slack alerts the moment a live environment drifts from IaC.
⚡ Live API Polling 🔔 Slack / PagerDuty Alerts 🔗 GitHub / GitLab Integration 📊 Drift Audit History 🛡 SSO + RBAC
I'd use this None of this is in the free tool yet. Email to say you'd use it.
Share MySysAd

⚠️ IMPORTANT DISCLAIMER: The tools and scripts on this site are provided "AS IS" for educational purposes.

Review destructive commands before executing. By using this site, you assume all risk and agree to our Full Terms of Service.

Find drift between Git and what’s running

Configuration drift is when the live system no longer matches its source of truth, usually after a quick fix with kubectl edit or a change made in a cloud console. Paste the baseline from Git on one side and the live export on the other. DriftScope compares structure and values rather than lines: Kubernetes objects are matched by kind and name, the values Kubernetes fills in itself are set aside and counted, and Terraform state is matched resource by resource, so what is left is the drift.

Common questions

How do I detect configuration drift in Kubernetes?

kubectl diff -f manifest.yaml compares a manifest with what’s in the cluster. To compare by hand, export the live object with kubectl get deploy NAME -o yaml and paste it next to the manifest from Git. GitOps tools such as Argo CD and Flux report drift continuously.

Why does a normal diff show so many false changes?

Live objects carry fields your manifest never set: status, resourceVersion, uid, creationTimestamp, managedFields and defaults filled in by the API server, such as imagePullPolicy, protocol: TCP and the rollout strategy. It also rewrites some values: cpu: 0.5 comes back as 500m. Key order and quoting differ between JSON and YAML too. A comparison by meaning sets that aside and shows the changes that matter.

How can I tell whether someone changed a Deployment by hand?

kubectl apply keeps a copy of what it applied in the kubectl.kubernetes.io/last-applied-configuration annotation. kubectl edit, scale, set image and patch don’t update it, so a live value that differs from it was changed outside apply. Server-side apply doesn’t use that annotation; there, kubectl get -o yaml --show-managed-fields shows which tool last set each field.

How do I detect drift in Terraform?

terraform plan -refresh-only shows what changed outside Terraform without proposing any fixes. A normal terraform plan then shows what Terraform would change to put it back. Running it on a schedule catches console changes early.

Can I compare a JSON file with a YAML file?

Yes. Each side is detected and parsed into the same structure, so a JSON export can be compared directly with a YAML manifest.

What causes configuration drift?

Manual fixes during incidents, changes made in a cloud console, scripts that patch resources, autoscalers and operators that change values, and tools that apply different defaults. Folding every manual change back into Git is the lasting fix.

Related tools: Diff Viewer · Terraform Plan Analyzer · Kubernetes Manifest Builder · All tools A–Z