Flight recorder for Kubernetes

See what changed. See what broke. Share what happened.

kubexray keeps a record of every change to your cluster. When something breaks, it names the change that likely caused it and who made it. Then it plays the whole incident back for anyone on your team, with no access to your cluster.

helm install kubexray oci://ghcr.io/kubexray/charts/kubexray
kubexray Replay kubexray-demo · 37 minutes recorded
  1. Helm upgrade storefront 1.0.0 → 1.1.0by Helm Healthy
  2. ConfigMap checkout-config editedLOG_LEVEL info → verbose, by kubectl patch Broke something
  3. Incident checkout is degraded 1 pod CrashLoopBackOff, a minute after the edit Likely cause: the ConfigMap edit at T+11:37
  4. ConfigMap checkout-config editedLOG_LEVEL verbose → info, by kubectl patch Fixed an incident
  5. checkout 3/3 readyrecovered 25 s after the fix
Five moments from a real recording of the demo cluster. Each line opens the player there. Play the incident
See it in the player

30 s, live A ConfigMap edit breaks checkout; kubexray names the change and the value, and the timeline shows it broken until the fix. Open the demo player

Caused by

Every incident comes with its likely cause

Dashboards tell you a pod is crashing. kubexray tells you why, and what changed just before.

  • What's wrong, in plain English, with the command to run next
  • The likely cause, who made it, and the evidence for it
  • One cause with many symptoms is one incident, not twelve alerts
An incident card for checkout, with what's wrong and the likely cause, above the map with the failing path highlighted in red.

Change feed

Every change, and what it did

One line per Helm upgrade, Argo CD sync or kubectl edit, with a verdict once things settle.

  • Healthy settled, and how long it took
  • Broke something which app, while it's still broken
  • Resolved what it broke, for how long, and when it was fixed
  • Fixed an incident brought an app back
  • Drift hand edits to managed objects
The Changes view: stat cards, a histogram of changes over time, and change cards marked Healthy, Resolved and Fixed an incident.

See diff

What changed, down to the value

Every change opens to its diff, like Argo CD: a ConfigMap key, an environment variable, a Service port, any field of any kind. Values stay inside the cluster, and anything that looks like a credential is hidden.

  • ConfigMaps, workloads, Services, HPAs, RBAC and custom resources
  • Hand edits to what Helm, Argo CD or Flux manage, with the command that puts them back
  • Values follow Kubernetes permissions: people see what they could read with kubectl
A change card opened to its diff: LOG_LEVEL info changed to verbose, marked Resolved: it broke checkout for 3m 55s.

Signals

It notices what users feel, not only what crashes

Failing requests, slow responses, restarts and memory near its limit, while every pod still looks green. kubexray finds Prometheus, Traefik, ingress-nginx, Istio and metrics-server on its own, learns what's normal for each app, and names the change behind a break.

  • Each app judged against its own usual range, not a fixed number
  • Your Alertmanager alerts become incidents too, with a likely cause
An incident: api is failing requests, read from Traefik, with the likely cause a Service edit that changed targetPort from 80 to 8080.

Rewind

Go back to the moment before it broke

kubexray records around the clock. Drag the timeline to any moment and the whole cluster is drawn as it was. Compare two moments to see exactly what changed in between.

The timeline: each change that broke something with its value, red while broken until a green fix mark, then striped while recovering, with what is happening at the moment shown.

In your terminal

Ask why, get an answer

kubexray why gives the same diagnosis without opening a browser: impact, symptom, likely cause, evidence, and what to run next.

$ kubexray why deploy/checkout -n shop
checkout (Deployment, shop) is degraded: 2 of 3 pods ready
  impact        Service checkout → 2 of 3 pods ready
  symptom       1 pod CrashLoopBackOff
  likely cause  ConfigMap checkout-config was edited
                by kubectl patch at 00:09:47 (1m ago)
  evidence      1 pod started after the edit is failing
                2 pods started before it are healthy
  next          kubectl -n shop rollout restart deployment/checkout

Built to run in production

Read-only and private

It only lists and watches. Secrets are never read; values in diffs stay behind your login, follow Kubernetes permissions and hide anything that looks like a credential.

Alerts with the cause attached

An Alertmanager receiver that forwards to Slack or a webhook with the likely cause and a link to the moment it started.

Sign in with your company accounts

Built-in OpenID Connect for Google, Okta, Entra ID and Keycloak, with an allow-list and an audit log.

Recordings that stay light

It records changes, not video or logs: about 2 MB an hour for a busy 365-object cluster, so a week fits easily on the default 1 GiB volume. The incident from 3 a.m. is still there in the morning, and a replay of it is a few dozen KB.

Fast at scale

Every incident and its cause found in 1 ms on 1,000 pods. The full map renders in about 80 ms.

Post-mortems drafted for you

A Markdown timeline of what changed, what broke and when it recovered, linking to the replay.

Install

In your cluster

Records around the clock behind authentication. Open it with a port-forward, or put it behind an Ingress with sign-in.

helm install kubexray oci://ghcr.io/kubexray/charts/kubexray -n kubexray --create-namespace
Helm chart values →

On your laptop

One binary that uses your kubeconfig, like kubectl. It prints which cluster it's reading before it connects.

brew install --cask kubexray/tap/kubexray
All releases →

Watch an incident as it happened

A ConfigMap edit breaks checkout a minute later. See kubexray catch it, explain it and trace it back.