Skip to content
aicoolies logo
K8sGPT logo

K8sGPT

AI-powered Kubernetes diagnostics in plain English

K8sGPT is a CNCF Sandbox project that scans Kubernetes clusters, diagnoses issues, and explains problems in plain English with actionable remediation steps. It codifies SRE expertise into built-in analyzers for Pods, Services, Deployments, Ingress, PVCs, CronJobs, and more. K8sGPT connects to AI backends including OpenAI, Azure OpenAI, Google Gemini, Amazon Bedrock, Cohere, and local models via Ollama, with data anonymization to protect sensitive cluster information.

About K8sGPT

K8sGPT was introduced in spring 2023 and accepted into the CNCF Sandbox in December of the same year. Written in Go, it works as either a standalone CLI binary or a Kubernetes operator that runs continuously inside the cluster. The CLI approach is straightforward: run k8sgpt analyze --explain and the tool scans the cluster, collects diagnostic data from resource statuses and events, sends anonymized context to the configured AI backend, and returns explanations with specific kubectl commands to resolve each issue. Without the --explain flag, K8sGPT still provides structured diagnostic output using its internal analyzers — essentially codified SRE playbooks — without making any AI calls at all.

The built-in analyzers cover core Kubernetes resources: Pods, Deployments, ReplicaSets, StatefulSets, Services, Ingress, PersistentVolumeClaims, CronJobs, and Nodes. Beyond these defaults, K8sGPT integrates with Trivy for security vulnerability scanning across container images in the cluster, and with AWS Controllers for Kubernetes to analyze AWS resources managed via CRDs. The AI backend options are broad — OpenAI, Azure OpenAI, Google Gemini and Vertex AI, Amazon Bedrock and SageMaker, Cohere, Hugging Face, IBM watsonx.ai, and local models through Ollama or LocalAI for air-gapped environments where no data can leave the network.

When deployed as a Kubernetes operator, K8sGPT runs in the background and writes analysis results to custom Result resources, enabling integration with existing monitoring stacks like Prometheus and Alertmanager for automated alerting on detected issues. The operator mode suits production environments that need continuous cluster health monitoring rather than ad-hoc troubleshooting. Installation is available through Homebrew, apt/apk packages, Windows binaries, and Helm charts for the operator. The latest release is v0.4.31, and the sister project Sympozium extends the concept to managing AI agents within Kubernetes clusters.

Pricing & Platform Specs

Pricing Summary

100% free and open-source Kubernetes AI diagnostics and SRE engine (Apache-2.0 License, 6k+ GitHub stars) hosted under the CNCF Sandbox. Zero software licensing fees or subscription costs. Operational expenses are strictly limited to external LLM API token consumption (OpenAI, Azure, Bedrock, Gemini) or local self-hosted inference compute (Ollama, LocalAI).

full pricing breakdown →

Supported Platforms

CLI (Go binary), Kubernetes operator, Helm chart, multi-OS

Explore categories, tags & use cases

Open-source browser infrastructure for AI agents at scale

Steel is an open-source browser API purpose-built for AI agents, providing managed headless browser sessions with anti-bot bypass, proxy rotation, CAPTCHA solving, and session persistence. It handles the infrastructure layer that browser automation agents like Browser Use and Stagehand run on top of. Self-hostable or available as a cloud service. Over 6,000 GitHub stars.

freemiumOpen Source

Open-source background jobs and AI workflows for TypeScript

Trigger.dev is an open-source platform for building and deploying background jobs, AI agents, and long-running workflows in TypeScript. It eliminates serverless timeouts with durable task execution, automatic retries, queue-based concurrency control, and elastic scaling. Used by 30,000+ developers at companies like MagicSchool and Icon.com, it processes hundreds of millions of agent runs monthly. Backed by a $16M Series A led by Dalton Caldwell's Standard Capital fund.

freemiumOpen Source

Open-source PaaS alternative to Vercel, Heroku, and Netlify

Dokploy is a free open-source platform-as-a-service for self-hosting applications without cloud vendor lock-in. It provides automated deployments from Git repositories, built-in SSL certificates, database provisioning, Docker and Docker Compose support, and a clean web dashboard for managing multiple applications on your own servers. With 18,000+ GitHub stars, it fills the gap for teams wanting Vercel-like deployment simplicity on their own infrastructure.

freemiumOpen Source

Google’s open-source Kubernetes assistant that translates natural-language intent into precise cluster operations.

kubectl-ai is an AI-powered Kubernetes assistant from Google Cloud Platform. It acts as an intelligent interface for cluster work, translating operator intent into Kubernetes commands and workflows. The key distinction from reactive diagnosis tools is that kubectl-ai is designed as an interactive natural-language interface for planning and executing Kubernetes operations, with provider configuration and MCP-oriented workflows around the CLI.

freeOpen SourceTelemetry

Side-by-Side Comparisons

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is K8sGPT?

K8sGPT is a CNCF Sandbox project that scans Kubernetes clusters, diagnoses issues, and explains problems in plain English with actionable remediation steps. It codifies SRE expertise into built-in analyzers for Pods, Services, Deployments, Ingress, PVCs, CronJobs, and more. K8sGPT connects to AI backends including OpenAI, Azure OpenAI, Google Gemini, Amazon Bedrock, Cohere, and local models via Ollama, with data anonymization to protect sensitive cluster information.

Is K8sGPT free?

Yes — K8sGPT is open source and free to use. 100% free and open-source Kubernetes AI diagnostics and SRE engine (Apache-2.0 License, 6k+ GitHub stars) hosted under the CNCF Sandbox. Zero software licensing fees or subscription costs. Operational expenses are strictly limited to external LLM API token consumption (OpenAI, Azure, Bedrock, Gemini) or local self-hosted inference compute (Ollama, LocalAI).

Is K8sGPT open source?

Yes — K8sGPT is open source.

Is K8sGPT still maintained?

Yes — K8sGPT is active. Its listing was last verified on September 6, 2026.

What are the best K8sGPT alternatives?

The first editor-selected K8sGPT alternatives are Steel, Trigger.dev, Dokploy, and more.

How does K8sGPT score in our review?

The published editorial review lists K8sGPT at 85/100 overall across speed, privacy, and developer experience. Check the review's evidence status and test metadata for its verification level.