What it does
Kubernetes is popular software for running apps across many servers, and it can be hard to troubleshoot. K8sGPT checks a Kubernetes setup for common problems and uses AI to explain what's wrong and suggest fixes in simple language.
It has built-in checks based on the experience of site reliability engineers (the people who keep services running). It works with OpenAI, Azure, Cohere, Amazon Bedrock, Google Gemini and local models.
It is a command-line tool and can also connect to AI assistants through MCP, a standard way of giving AI tools extra abilities.
Who it's for
DevOps engineers and developers who manage Kubernetes clusters.
Can I use it without coding?
Developers only. A command-line tool for people who already work with Kubernetes. New to this? Start here.
Can I run it?
- Cost
- Free, but needs an AI accountThe software is free, but it uses an online AI service (like OpenAI or Anthropic), which usually charges for use.
- Runs on
- Mac, Windows, Linux
- Computer
- An ordinary computer is fine
- Privacy
- Your choice: run it on your device or use an online service
- API key
- Not needed
Try it
- Download K8sGPT for your system from the project's releases page or a package manager.
- Connect it to an AI provider or a local model, then run it against your Kubernetes cluster.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page or the official download page above. Copies with similar names exist for many popular projects.
- License (Apache-2.0): Permissive: free to use, change and share, including for business.
- More on staying safe