Read the cluster
One parallel read through the Kubernetes API: workloads, events, nodes, networking, storage, Helm releases, Argo CD apps and the logs of failing containers. Secrets are reduced to key names on read.
Open source · Apache-2.0 · AI optional
KubeSift finds what's failing in your Kubernetes cluster, links it to the change that caused it, and hands you the fix — from your terminal, your AI assistant, your CI, or a dashboard in the cluster.
$ pipx install "kubesift[all]"
Plugs into the tools you already use
Get started
You need Python 3.10 or newer and a cluster that kubectl can reach. KubeSift only reads your
cluster; it changes nothing unless you run kubesift fix and confirm.
$ pipx install "kubesift[all]"
No pipx? Run python -m pip install --user pipx and python -m pipx ensurepath, then open a
new terminal. pip install "kubesift[all]" in a virtualenv works too.
$ kubectl get nodes
KubeSift uses the same kubeconfig and current context. No cluster yet?
kind makes a local one in a minute (needs Docker):
kind create cluster.
$ kubectl sift doctor
Connection, read permissions, metrics and AI configuration, with a fix for anything missing.
$ kubectl sift diagnose
$ kubectl sift diagnose -n shop -v
$ kubectl sift ask "why is checkout failing?"
All namespaces, or one with -n. -v adds the evidence and recent changes.
$ kubectl sift drill start crashloop --yes
$ kubectl sift diagnose -n kubesift-drill
$ kubectl sift drill reveal crashloop
$ kubectl sift drill stop
A drill breaks a separate kubesift-drill namespace on purpose, so you can see a diagnosis without
waiting for a real incident.
$ export ANTHROPIC_API_KEY=... # or OPENAI_API_KEY / OPENROUTER_API_KEY
$ kubectl sift doctor
Everything above works without AI. A local Ollama model works too, but without a GPU an answer takes minutes.
How it works
Most tools tell you a pod is crashing. KubeSift tells you which deploy broke it, what changed, and how to undo it.
One parallel read through the Kubernetes API: workloads, events, nodes, networking, storage, Helm releases, Argo CD apps and the logs of failing containers. Secrets are reduced to key names on read.
71 deterministic checks turn raw state into findings with evidence copied from the cluster — exit codes, scheduler reasons, missing keys, the log line that names the missing env var.
Rollout diffs (image, env, resources, probes), ConfigMap edits, Helm upgrades and Argo CD syncs are linked to the failures that followed them, with the exact rollback command.
Findings become incidents with causes before symptoms. Add Claude, OpenAI or a local model for a written explanation — every claim must cite real evidence, or its confidence is capped.
image checkout:1.4 → 1.5 · env removed DATABASE_URL
log: KeyError: 'DATABASE_URL'
Service checkout has no ready endpoints
kubectl rollout undo deployment/checkout -n shop --to-revision=1
Before, during and after
Most incidents follow a change. So KubeSift checks changes before they ship, explains failures when they happen, and writes up what happened afterwards.
Before deploy, check the change against the live cluster: missing Secrets, pods that won't fit, a memory limit below what the app uses today, env vars the running version needs, webhook rejections.
When something breaks: the cause, the change that triggered it, and the rollback — in your terminal, AI assistant, dashboard or Slack.
Compare the cluster now with an hour ago. See every image, config key, replica count and node that changed, even ones Kubernetes doesn't record.
One command drafts a blameless postmortem: impact, timeline, root cause, triggering change and action items, built from cluster evidence.
/sift why checkout in a channel. Answers with evidence and a "Roll back (dry run)" button. Applying needs your approval and permission.
kubesift drill start crashloop safely breaks a training namespace so new engineers practise on realistic failures.
Record what fixed an incident once; it appears next to the same problem later. Export a pack and share it with other teams.
Blockers for the next Kubernetes version, and right-sizing from real usage — the incidents and bills you avoid.
Four ways in
One engine behind every entry point. Same checks, same evidence, same answers.
Diagnose, ask questions in plain English, see recent changes, audit for production, check upgrades and cost.
$ kubectl sift diagnose -n shop -v
$ kubectl sift ask "why is checkout failing?"
$ kubectl sift changes --since 2h
$ kubectl sift upgrade-check --target 1.36
Give Claude Code, Cursor or VS Code structured cluster evidence. Your assistant reasons; KubeSift supplies facts.
$ claude mcp add kubesift -- kubesift mcp
# or the shared, token-protected endpoint
https://kubesift.your-co.com/mcp
Helm chart with a web dashboard, REST API, Alertmanager receiver and background scans that post the diagnosis to Slack or Teams before anyone opens a laptop.
$ helm install kubesift \
oci://ghcr.io/opeyemiadeniji/charts/kubesift \
--set notifications.slackWebhookUrl=$SLACK
Lint manifests, Helm charts and Kustomize output on every pull request. Results land in GitHub code scanning (SARIF).
# .github/workflows/k8s.yml
- uses: OpeyemiAdeniji/KubeSift@v2
with:
paths: k8s/
target-version: "1.36"
In-cluster dashboard
Pods on a dead node become one infrastructure incident. A bad rollout and its crashing pods become one app incident.
Crash looping: expects DATABASE_URL. Started after rollout revision 2 (14:02).
kubectl rollout undo deployment/checkout -n shop --to-revision=1
NotReady for 40m — kubelet stopped posting status. 6 pods affected, grouped into this incident.
Certificate expires in 3 days; cert-manager renewal is failing.
What it catches
Each one says what is wrong in plain words, shows the evidence, and gives the fix.
Crash loops explained by exit code and logs, OOM kills with a suggested limit, rollouts past their deadline, failing Jobs and CronJobs.
Missing ConfigMaps, Secrets and keys; bad image tags; Docker Hub rate limits; images built for the wrong CPU architecture.
Services with no endpoints (and the label typo why), wrong target ports, broken Ingress and Gateway routes, NetworkPolicies that block DNS.
NotReady and pressured nodes, the scheduler's real reason a pod is Pending, full clusters, cordoned nodes left behind.
Admission webhooks that block every deploy, pod IP exhaustion, Pod Security rejections, expired certificates, CoreDNS down.
Removed APIs in manifests and Helm releases, PDBs that hang node drains, retired ingress-nginx, containerd 1.x, cgroup v1, kubelet skew.
Over-requested CPU and memory with right-sizing from real usage, idle GPUs, unused volumes, load balancers with no backends.
Privileged containers, secrets in plain env vars, cluster-admin service accounts, single replicas, missing probes and limits.
Built to be trusted with production
Every finding comes from deterministic checks. Bring Claude, OpenAI, OpenRouter or a local Ollama model — or none at all.
Secret and ConfigMap values are dropped at read time. Tokens, passwords and keys are redacted from logs before anything is stored or sent.
Restart, rollback and scale show a plan, run a server-side dry run, ask before changing anything, and write an audit log.
Run two or more replicas on PostgreSQL. A Kubernetes Lease elects one scanner; failover takes seconds.
Container images and Helm charts are signed with cosign and ship an SBOM and build provenance.
Every change breaks a kind cluster in ten ways and checks each failure is caught, then installs the chart in both modes.
Free, open source, and ready for your cluster in under a minute.
$ pipx install "kubesift[all]" && kubectl sift doctor