Categories
Self-Hosted Observability Timeline Visualization Audit Log Analysis Kubernetes Troubleshooting Incident Investigation Google Cloud Log VisualizationStars
Forks
Watchers
Developer links
Kubernetes History Inspector
A pod that restarts once overnight and heals itself leaves almost nothing for a keyword search to find, so Kubernetes History Inspector lays every related resource on one shared timeline instead. Rows form a tree of cluster, API version, kind, namespace, resource, and container. Colored revision bars show each state a resource passed through, diamond markers flag individual log events by severity, and zooming runs from cluster-wide trends down to milliseconds. Selecting a timeline fills the Log View with its entries and the History View with every revision, showing the API verb, the acting identity, and a line-by-line manifest diff with tooltips that name the managedFields editor or mutating webhook behind a change. The Topology View redraws how Deployments, Nodes, Pods, and Services were connected at the moment of any chosen log. Filters start with regular expressions and severity, then grow into CEL expressions. A New Inspection wizard previews the generated Cloud Logging filter and estimates log volume before querying GKE, GKE on AWS or Azure, Cloud Composer, or bare-metal and VMware clusters; OSS clusters upload kube-apiserver audit logs as JSON Lines. Inspections download as .khi files, headless Job mode creates them from alerts or CI pipelines, and a built-in MCP endpoint lets AI assistants run inspections and search timelines and logs. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.
Benefits
- See Every Resource on One Timeline
- Pods, nodes, controllers, and containers share a single time axis, with revision bars for state changes and diamond markers for log events, so failures spanning several components stand out immediately.
- Agentless With Nothing to Install
- KHI reads logs your cluster already writes to Cloud Logging, or audit log files you upload, so no agent goes onto the cluster and one container is enough to start investigating.
- Who Changed What, Line by Line
- Every revision lists its API verb and acting identity beside a manifest diff, and hover tooltips show which field manager or mutating webhook made a change, details that are painful to read in raw logs.
- Capture Cluster History From Pipelines
- Job mode writes a .khi file without starting the web server, so an alert hook or CI/CD run can snapshot a cluster's history and the web UI can reopen it later.
Features
- String Masking for Sharing
- A dockable String Masking pane redacts project IDs, cluster, node, and Pod names, IPs, and custom strings with live preview, then exports a masked .khi archive for sharing.
- Topology View Per Timestamp
- Reconstructs relationships among Deployments, DaemonSets, Nodes, Pods, and Services at the timestamp of the selected log, built solely from kube-apiserver audit logs.
- CEL and Regex Filters
- Standard mode filters by regular expression, minimum severity, and keyword; advanced mode accepts Common Expression Language (CEL) for include rules, exclude rules, and per-log conditions, with a built-in help button.
- Google Cloud and OSS Sources
- Queries Cloud Logging, with Cloud Asset Inventory for starting state, on GKE, Composer, and Distributed Cloud, or loads kube-apiserver audit logs as JSON Lines, such as a Loki export.
- Built-In MCP Endpoint
- A Streamable HTTP endpoint at /mcp, plus /mcp/sse, exposes tools to create and run inspections, search timelines and logs, and read resource manifests, revisions, and diffs.
- Docker Image, Host Allowlist
- The Docker image serves the UI on port 8080. No built-in login, so use SSH port forwarding or an authenticating proxy, and add other hostnames or IPs to KHI_ALLOWED_HOSTS.