weibaohui/k8m
一款轻量级、跨平台的 Mini Kubernetes AI Dashboard,支持大模型+智能体+MCP(支持设置操作权限),集成多集群管理、智能分析、实时异常检测等功能,支持多架构并可单文件部署,助力高效集群管理与运维优化。
What it solves
K8M is a lightweight, AI-powered dashboard designed to simplify the management of Kubernetes clusters. It replaces complex command-line operations with a user-friendly graphical interface and integrates AI to help users understand cluster states, debug logs, and manage resources more efficiently.
How it works
Built with a Golang backend and a frontend based on Baidu AMIS, K8M operates as a single executable file for easy deployment. It uses kom as its Kubernetes API client and can be deployed as a standalone binary, via Docker Compose, or directly within a Kubernetes cluster. The tool integrates LLMs (including built-in Qwen2.5-Coder-7B and support for Ollama or private models) to provide intelligent assistance and implements the Model Context Protocol (MCP) to allow AI models to execute cluster operations via a set of built-in tools.
Who it’s for
It is designed for developers and DevOps engineers who need a simple, efficient way to manage one or multiple Kubernetes clusters (including standard k8s, AWS EKS, k3s, kind, and k0s) without relying solely on the CLI.
Highlights
- AI-Driven Operations: Provides word-based explanations, YAML attribute translation, AI-powered log diagnosis, and command recommendations.
- MCP Integration: Acts as an MCP Server with 49 built-in tools, allowing LLMs to perform complex cluster operations while maintaining user-specific permission mapping.
- Multi-Cluster Management: Automatically detects clusters in-cluster or via kubeconfig, supporting heartbeat detection and automatic reconnection.
- Comprehensive Resource Control: Includes a Pod file manager (browse, edit, upload/download), real-time log viewing with grep-like search, and CRD management.
- Cluster Health & Monitoring: Supports scheduled cluster inspections with custom Lua scripts and forwards Kubernetes events to webhooks with AI-generated summaries.
- Helm Integration: Features a built-in Helm market for one-click installation, uninstallation, and upgrading of applications.
Related
- Project
- Project
- Project
- Project
- Project