K8-Lighthouse
AI-assisted incident diagnostics for Kubernetes that cut troubleshooting time by 30–50%.
- Stack
- Kubernetes
- Prometheus
- Amazon Bedrock
- Helm
Problem
When a pod fails or a deployment stalls, the evidence is spread across logs, cluster events and container states. Finding the cause meant reading all three by hand.
Approach
K8-Lighthouse correlates logs, events and container states for a failing workload and uses Amazon Bedrock to produce a diagnosis. It automatically identifies pod failures, deployment issues and container-level incidents and adds the surrounding context, so a person starts from a likely cause instead of raw output.
I packaged the application stack as a Helm chart that deploys with one command. The chart includes RBAC, a ServiceAccount, Secrets and an Ingress, so every install gets the same permissions and access setup.
Key decisions and trade-offs
- A model for diagnosis instead of fixed rules. A failure can show up as a log line, a cluster event or a container state. A model can correlate across all three, where rules would need one per failure pattern. The cost is that the output is a probabilistic diagnosis, so it works as a starting point for an engineer and not as a verdict. The result reflects that: troubleshooting got 30–50% faster, not automatic.
- A hosted model means context leaves the cluster. Amazon Bedrock gives access to a capable model without running one, but the context sent for diagnosis goes to an external service. The trade is operating cost against exposure of that data. The local LLM platform on this site makes the opposite choice, for documents that are more sensitive.
- One chart, one set of defaults. The Helm chart installs the whole stack, with RBAC, a ServiceAccount, Secrets and an Ingress, in one command. Installs become fast and repeatable. The cost is that an unusual cluster has to override chart values instead of starting from a blank slate.
Results
- Troubleshooting time fell by 30–50%.
- A full cluster deployment takes one Helm command, with the same RBAC and access configuration each time.