Kubernetes Event Explorer
Paste kubectl events and get a timeline, reason taxonomy and likely root causes per workload.
How it works
Paste `kubectl get events -A -o json` or the default `kubectl get events` table. Events are grouped by involved object and inferred workload (Pod → ReplicaSet → Deployment), each reason is classified (rollout, crash loop, probes, image pulls, scheduling, volumes, OOM, node pressure…), and evidence-based root-cause hypotheses explain what probably happened and what to check next.
- JSON events: involvedObject/regarding, reason, message, type, count/series.count, firstTimestamp/lastTimestamp/eventTime are read as documented for core/v1 and events.k8s.io/v1 Events.
- Table output: columns are located from the header line; relative ages (e.g. "3m (x7 over 11m)") are converted to absolute times counted back from capturedAt (default: the analysis time), and the "xN" repeat count is used as the occurrence count.
- Reasons are mapped to categories using the reason strings emitted by kubelet, scheduler, controllers and node-problem-detector; ambiguous reasons are refined by message (BackOff restarting vs pulling image; Unhealthy liveness vs readiness; Failed ErrImagePull vs CreateContainerConfigError).
- Pods are linked to Deployments via ScalingReplicaSet/SuccessfulCreate messages, then by the <deployment>-<rs-hash>-<pod-hash> naming convention.
- Root-cause rules combine signals per workload (e.g. liveness failures + back-off → probe-induced restarts; back-off alone → app exits; FailedScheduling message → resources/taints/affinity/PVC).
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
Opsdeck Developer & ops workbench
One deck for CI failures, cron, traces, k8s events, API diffs, query plans and Terraform.
Related tools
- Distributed Trace Explorer – Paste an OTLP, Jaeger or Zipkin trace: span tree, critical path, self-time, N+1 calls and errors.
- Terraform Plan & Drift Explorer – Paste terraform show -json: drift, replacement reasons, attribute diffs and risky deletes.
- Error Message Translator – Paste a technical error and get the plain-English cause and troubleshooting steps.
How to use the Kubernetes Event Explorer
Paste kubectl events and get them grouped by workload, classified by cause, and explained with likely root causes and next steps.
What it is for
When a rollout goes wrong, kubectl get events is usually the first and best evidence: probe failures, back-offs, scheduling errors, image pulls, OOM kills. The raw list is noisy, though. It's sorted by time, mixes namespaces and objects, repeats the same event with a counter, and names pods with random hashes rather than the Deployment you care about.
Paste kubectl get events -A -o json (best, because it has exact timestamps) or the plain table output. The tool groups events by object and by inferred workload (Pod → ReplicaSet → Deployment). It classifies every reason — rollout, crash loop, probes, image, scheduling, volumes, config, OOM, autoscaler — and combines the signals into root-cause hypotheses, each with the evidence and the next thing to check.
Events are short-lived; by default the API server keeps them for about an hour. They also don't contain application logs. Treat the diagnoses as hypotheses to confirm with kubectl describe and kubectl logs.
Worked example
The first built-in example is a JSON event list from namespace shop.
11 events (51 warning occurrences) across 6 objects; top finding: shop/Deployment/checkout — Restarts caused by failing liveness/startup probes (+3 more).
All four diagnoses are critical:
| Workload | Finding | Key evidence |
|---|---|---|
| Deployment/checkout | Restarts caused by failing liveness probes | 15× liveness probe context deadline exceeded, 5× killed, 22× CrashLoopBackOff |
| StatefulSet/worker | Pod cannot be scheduled | 0/3 nodes are available: 1 node(s) had untolerated taint {dedicated: gpu}, 2 Insufficient memory |
| Deployment/search | Image cannot be pulled | registry.example.com/search:2.5.1 … manifest unknown |
| Node/node-b | Out-of-memory kills | 2× Memory cgroup out of memory: Killed process 4121 (java) |
The checkout diagnosis is the interesting one. CrashLoopBackOff usually suggests the app is crashing, but here the probe failures come first. Kubelet kills a healthy-but-slow container, so the suggested fix is a startupProbe or more generous probe timings, not a code change.
The second example is the plain table output (captured at 2026-10-12 10:00) from a payments scale-up. It traces the failure to a missing Secret db-creds (7× CreateContainerConfigError plus a failed volume mount). It also shows 30 readiness failures and an HPA that can't read CPU metrics because the container has no CPU request.
How to read the result
- Diagnoses — the most useful block: workload, severity, finding, explanation, next steps and the event messages behind it.
- Objects — every involved object with its workload, warning/normal counts and top signals (e.g.
CrashLoopBackOff ×22). - Reasons — each reason refined by message into a signal (BackOff → CrashLoopBackOff or ImagePullBackOff, Unhealthy → liveness or readiness) with a plain-English meaning.
- Categories and byType — the counts include repeats (
count/xN), so 11 events can be 74 occurrences. - Window — the first and last event time. Check that it covers the incident.
Tips and common mistakes
- Prefer
-o json. Table output only has relative ages, so times are estimated from "captured at". Set that field to when you ran the command. - Grab events quickly after an incident. Once they expire, they're gone. For history, ship events to your logging system.
- Readiness failures don't restart pods, they remove them from Service endpoints. If every replica fails, users see 502/503 at the ingress, but the pods look "Running".
- FailedScheduling messages list every reason per node group (taints, memory, affinity). Fix all of them, not just the first.
manifest unknownmeans the tag doesn't exist.unauthorizedordeniedpoint to imagePullSecrets. Read the exact message.- Filter by namespace for busy clusters, and use "Only Warning events" to shorten the timeline without losing diagnoses.
FAQ
Which kubectl output formats work?
kubectl get events -A -o json (core/v1 and events.k8s.io/v1) and the default table including its header line.
How does it know which Deployment a pod belongs to?
From ScalingReplicaSet and SuccessfulCreate messages when they're present, otherwise from the <deployment>-<replicaset-hash>-<pod-hash> naming convention.
Why is CrashLoopBackOff blamed on probes?
When liveness failures and kill events come before the back-offs, kubelet is restarting the container because of the probe. Without probe failures, the tool assumes the app exits by itself.
Is my cluster data uploaded or stored?
The pasted or uploaded text is analysed in memory and not stored. The tool never connects to your cluster.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://kuberneteseventexplorer.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://kuberneteseventexplorer.usefulweb.site/mcp· tool namekubernetes_event_explorer
Example request
curl -s -X POST https://kuberneteseventexplorer.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{…see OpenAPI examples…}'