Description
K8sGPT is an open source tool that scans Kubernetes clusters, finds what is broken, and explains the problem in plain English. It ships with built-in analyzers that encode SRE know-how, so one command can triage a cluster. With the --explain flag, raw errors become a diagnosis and suggested next steps from the AI backend you choose, which can be a cloud service or a local model. The site lists 14 AI backends. The tool runs in three ways: as a CLI on your laptop, as an operator inside your cluster that can notify, record and fix problems, and as an MCP server for your AI assistant. An anonymize option masks sensitive details before anything leaves your environment, and the tool is built to fix only what is safe and to scope its checks precisely. The project is licensed under Apache 2.0, and it is part of the CNCF Sandbox.…
Highlights
- Scans clusters with 23 built-in analyzers
- Plain-English explanations with --explain
- Runs as a CLI, in-cluster operator or MCP server
- Local or cloud AI backends
- Masks sensitive data before it leaves
Ratings & Reviews
No ratings yet
Be the first to rate K8sGPT.
People also visit
K8sGPT FAQ
What does K8sGPT do?
It scans a Kubernetes cluster with built-in analyzers, finds problems, and explains them in plain English with suggested next steps.
How do I install it?
The site shows brew install k8sgpt. You can point the CLI at a kubeconfig and run an analysis.
Can I run it inside the cluster?
Yes. The K8sGPT operator runs in the cluster and can notify, record and fix issues, according to the site.
Is it open source?
Yes. The site says it is 100% open source under the Apache 2.0 license.
















