Open source · Apache-2.0 · AI optional

Know why it broke.
Not just that it broke.

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]"

~/clusters/prod — kubectl sift


      
    

Plugs into the tools you already use

kubectl✦Helm✦Claude Code✦Cursor✦ VS Code✦Alertmanager✦Slack✦Microsoft Teams✦ Argo CD✦Prometheus✦GitHub Actions✦Ollama✦ Anthropic✦OpenAI✦OpenRouter✦PostgreSQL✦
0% of production incidents follow a change¹
0evidence-based checks, from crash loops to retired ingress controllers
~3sto analyse a 5,000-pod cluster once it is read
0Secret values kept — only key names and certificate dates

Get started

Running in five minutes.

You need a cluster that kubectl can reach, and Python 3.10 or newer (or nothing at all, with the standalone binary). KubeSift only reads your cluster; it changes nothing unless you run kubesift fix and confirm.

  1. Install

    $ 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.

    No Python? One line installs the standalone kubectl-sift for Linux and macOS, checksum-verified:

    $ curl -sSfL https://raw.githubusercontent.com/OpeyemiAdeniji/KubeSift/main/scripts/install.sh | sh

    Windows: irm https://raw.githubusercontent.com/OpeyemiAdeniji/KubeSift/main/scripts/install.ps1 | iex. The standalone binary has every command except the dashboard and MCP server.

  2. Check kubectl reaches your cluster

    $ 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.

  3. Check the setup

    $ kubectl sift doctor

    Connection, read permissions, metrics and AI configuration, with a fix for anything missing.

  4. Find what's broken

    $ 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.

  5. Practise on a safe failureoptional

    $ 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.

  6. Add AI explanationsoptional

    $ 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

From "something's down" to the fix, in one command.

Most tools tell you a pod is crashing. KubeSift tells you which deploy broke it, what changed, and how to undo it.

01

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.

02

Prove what's wrong

72 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.

03

Find what changed

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.

04

Explain it, carefully

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.

Deployment/shop/checkoutCritical
  1. Rollout revision 2

    image checkout:1.4 → 1.5 · env removed DATABASE_URL

  2. CrashLoopBackOff · exit code 1

    log: KeyError: 'DATABASE_URL'

  3. 0/2 replicas ready

    Service checkout has no ready endpoints

  4. Likely cause: the 14:02 rollout · 85% confidence

    kubectl rollout undo deployment/checkout -n shop --to-revision=1

Before, during and after

Covers the whole incident, not just the fire.

Most incidents follow a change. So KubeSift checks changes before they ship, explains failures when they happen, and writes up what happened afterwards.

Preflight

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.

Diagnose

When something breaks: the cause, the change that triggered it, and the rollback — in your terminal, AI assistant, dashboard or Slack.

Fix & verify

Roll back, re-point a Service, raise a memory limit or grant one missing permission: dry-run first, your approval, then KubeSift waits for the rollout and re-checks. Resolved or still failing, with the reason.

Time travel

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.

Tickets

Turn an incident into a GitHub issue with the evidence, the change that caused it, the fix and how to verify it. One issue per incident: repeats become comments.

Postmortem

One command drafts a blameless postmortem: impact, timeline, root cause, triggering change and action items, built from cluster evidence.

On-call in Slack

/sift why checkout in a channel. Answers with evidence and a "Roll back (dry run)" button. Applying needs your approval and permission.

Fire drills

kubesift drill start crashloop safely breaks a training namespace so new engineers practise on realistic failures.

Team knowledge

Record what fixed an incident once; it appears next to the same problem later. Export a pack and share it with other teams.

Upgrades & cost

Blockers for the next Kubernetes version, and right-sizing from real usage — the incidents and bills you avoid.

Four ways in

Use it where you already work.

One engine behind every entry point. Same checks, same evidence, same answers.

01 · Terminal

CLI & kubectl plugin

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
02 · AI assistants

MCP server

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
03 · In the cluster

Dashboard, API & alerts

Helm chart with a live 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
04 · CI

Stop it before it ships

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

Incidents, not alerts.

Pods on a dead node become one infrastructure incident. A bad rollout and its crashing pods become one app incident. Each one has a map with the broken link in red, the pod logs a click away, and in Live mode fixed incidents move to Resolved on their own.

What it catches

72 checks built from real incidents.

Each one says what is wrong in plain words, shows the evidence, and gives the fix.

Workloads

Crash loops explained by exit code and logs, OOM kills with a suggested limit, rollouts past their deadline, failing Jobs and CronJobs.

Images & config

Missing ConfigMaps, Secrets and keys; bad image tags; Docker Hub rate limits; images built for the wrong CPU architecture.

Network & DNS

Services with no endpoints (and the label typo why), wrong target ports, broken Ingress and Gateway routes, NetworkPolicies that block DNS.

Nodes & scheduling

NotReady and pressured nodes, the scheduler's real reason a pod is Pending, full clusters, cordoned nodes left behind.

Platform

Admission webhooks that block every deploy, pod IP exhaustion, Pod Security rejections, expired certificates, CoreDNS down.

Upgrades

Removed APIs in manifests and Helm releases, PDBs that hang node drains, retired ingress-nginx, containerd 1.x, cgroup v1, kubelet skew.

Cost

Over-requested CPU and memory with right-sizing from real usage, idle GPUs, unused volumes, load balancers with no backends.

Security & reliability

Apps refused access, with Kubernetes RBAC told apart from cloud IAM, admission policies and quotas. Privileged containers, secrets in plain env vars, cluster-admin service accounts, single replicas, missing probes and limits.

See all 72 checks →

Built to be trusted with production

Read-only by default. Evidence, always.

◎

AI is optional

Every finding comes from deterministic checks. Bring Claude, OpenAI, OpenRouter or a local Ollama model — or none at all.

⛨

Your secrets stay yours

Secret and ConfigMap values are dropped at read time. Tokens, passwords and keys are redacted from logs before anything is stored or sent.

↺

Guarded, verified fixes

Every fix shows a plan, runs a server-side dry run, asks before changing anything, writes an audit log, then checks it actually worked. Auto-rollback of a just-broken rollout is opt-in, per namespace.

⇄

Highly available

Run two or more replicas on PostgreSQL. A Kubernetes Lease elects one scanner; failover takes seconds.

✓

Signed releases

Container images and Helm charts are signed with cosign and ship an SBOM and build provenance.

⌁

Tested on real clusters

Every change breaks a kind cluster in eleven ways and checks each failure is caught, then installs the chart in both modes.

Your next incident deserves a head start.

Free, open source, and ready for your cluster in under a minute.

$ pipx install "kubesift[all]" && kubectl sift doctor