# K8sGPT

> Scan Kubernetes clusters, diagnose and triage issues in simple English

Source: https://talira.ai/catalog/k8sgpt-1s4fb6j2
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Infrastructure
- Categories: [devops / incident management / ai sre](https://talira.ai/categories/devops/incident-management/ai-sre), [infrastructure / kubernetes](https://talira.ai/categories/infrastructure/kubernetes)
- Platforms: macos, linux, windows, kubernetes[^1][^3]
- Licence: Apache-2.0[^4]
- Pricing: Free and open source[^4]
- Pricing notes: Free and open source (Apache-2.0); you pay your own AI backend, or use a local model.
- Free tier: yes[^4]
- Self-hostable: yes[^3]
- API: yes[^3]
- Plugins: yes[^3]
- MCP server: yes[^3]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^3]
- Backed by: [Cloud Native Computing Foundation](https://talira.ai/orgs/cncf.md)
- Funding: non-profit[^5][^6]

K8sGPT is an open source tool that scans [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md) clusters with built-in analyzers (pods, services, deployments, PVCs, ingresses, nodes, webhooks, HPAs, network policies, Gateway API and more) that codify SRE experience, then uses an AI backend to explain each problem and suggest a fix in plain English. It works with OpenAI, Azure OpenAI, [Amazon Bedrock](https://talira.ai/catalog/amazon-bedrock-b6xkh16b.md), Google [Gemini](https://talira.ai/catalog/gemini-api-r5x8ntes.md) and Vertex AI, Cohere, Hugging Face, watsonx and local models through [Ollama](https://talira.ai/catalog/ollama-gr2tx5nn.md) or [LocalAI](https://talira.ai/catalog/localai-5j77s2mj.md), can anonymize object names before sending them, and caches results locally or in S3, Azure Blob or Google Cloud Storage. It runs as a CLI, as a server with a gRPC API and an MCP server for [Claude](https://talira.ai/catalog/claude-w14d0j2d.md) Desktop and other agents (`k8sgpt serve --mcp`), or in-cluster through the K8sGPT Operator for continuous scanning alongside [Prometheus](https://talira.ai/catalog/prometheus-198e2rss.md) and Alertmanager. Custom analyzers in any language plug in over a gRPC schema. K8sGPT is a CNCF Sandbox project (accepted 19 December 2023) and is Apache-2.0 licensed.

## Links

- Website: https://k8sgpt.ai/
- GitHub: https://github.com/k8sgpt-ai/k8sgpt
- Docs: https://k8sgpt.ai/docs/

## Ways to install

### On Kubernetes

- [Artifact Hub](https://talira.ai/catalog/artifact-hub-s43pzyps.md): <https://artifacthub.io/packages/helm/k8sgpt/k8sgpt-operator>[^1]

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/k8sgpt>[^2]

## Problems it solves

- scan my Kubernetes cluster and tell me in plain English what's broken and how to fix it
- figure out why a deployment's pods won't start without reading pages of kubectl describe output
- find misconfigured services, ingresses and PVCs across all namespaces in one command
- explain cryptic Kubernetes errors with an LLM but hide our resource names from the AI provider
- diagnose Kubernetes problems with a local model so no cluster data leaves our network
- continuously scan a cluster from inside it and surface issues as Kubernetes resources
- let Claude Desktop or another AI agent analyze my Kubernetes cluster through MCP
- triage cluster issues for junior engineers who don't know Kubernetes well yet
- write our own cluster checks in any language and include them in the AI analysis
- get the official Kubernetes documentation for each problem found in my cluster
- output Kubernetes health findings as JSON for automation
- use Amazon Bedrock or Azure OpenAI to explain Kubernetes problems instead of OpenAI
- an open source CNCF tool for AI-assisted Kubernetes troubleshooting

## Features

- built-in analyzers for pods, PVCs, ReplicaSets, services, events, ingresses, StatefulSets, deployments, jobs, CronJobs, nodes, webhooks and ConfigMaps
- optional analyzers for HPAs, PDBs, network policies and Gateway API
- AI explanations with --explain, and Kubernetes docs with --with-doc
- AI backends: OpenAI, Azure OpenAI, Amazon Bedrock and SageMaker, Google Gemini and Vertex AI, Cohere, Hugging Face, watsonx, Ollama, LocalAI, LiteLLM and custom REST
- anonymization of object names before sending to the AI backend
- filters by resource type and namespace, JSON output
- local cache or remote cache in S3, Azure Blob or Google Cloud Storage
- serve mode with a gRPC API
- MCP server over stdio or HTTP (k8sgpt serve --mcp)
- custom analyzers in any language over a gRPC schema
- integrations activated from the CLI
- K8sGPT Operator for in-cluster continuous scanning

## Limitations

- Doesn't anonymize Kubernetes event messages: Pod and Events analyzer messages are sent to the AI backend unmasked[^3]

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has an MCP server: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.58 out of 1.
Signals: backing 0.55, extensibility 0.80.

- backed by Cloud Native Computing Foundation
- funding: non-profit
- has a plugin system
- has an MCP server for agents

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [HolmesGPT](https://talira.ai/catalog/holmesgpt-hhdj6exc.md): Open source AI agent for investigating production incidents and finding root causes
- [AURA](https://talira.ai/catalog/aura-y78tq9hs.md): Build trusted agents that production can rely on

## Sources

[^1]: https://github.com/k8sgpt-ai/k8sgpt-operator/blob/main/README.md (checked 20 Nov 2026)
[^2]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^3]: https://github.com/k8sgpt-ai/k8sgpt/blob/main/README.md (checked 20 Nov 2026)
[^4]: https://github.com/k8sgpt-ai/k8sgpt/blob/main/LICENSE (checked 20 Nov 2026)
[^5]: https://www.cncf.io/about/charter/ (checked 20 Nov 2026)
[^6]: https://www.cncf.io/ (checked 20 Nov 2026)
