weibaohui/k8m

一款轻量级、跨平台的 Mini Kubernetes AI Dashboard,支持大模型+智能体+MCP(支持设置操作权限),集成多集群管理、智能分析、实时异常检测等功能,支持多架构并可单文件部署,助力高效集群管理与运维优化。

What it solves

K8M simplifies the management of Kubernetes clusters by providing a lightweight, AI-powered dashboard. It removes the complexity of manual cluster operations by integrating AI assistance directly into the management interface, allowing users to interpret logs, diagnose issues, and generate commands through natural language.

How it works

K8M is a single-executable application built with a Golang backend and a Baidu AMIS frontend. It connects to your Kubernetes clusters using your existing kubeconfig files. Once running, it provides a web-based console where you can manage resources, view logs, and execute shell commands. The AI features are modular; you connect your own LLM API keys (such as OpenAI or locally hosted Ollama) to enable features like log diagnosis, YAML translation, and resource guidance. It also acts as an MCP (Model Context Protocol) server, allowing external AI agents to interact with your clusters securely.

Who it’s for

It is designed for developers and system administrators who need a portable, efficient, and intelligent way to manage one or multiple Kubernetes clusters without the overhead of heavy management platforms.

Highlights

  • AI-Powered Assistance: Offers log diagnosis, command recommendations, and resource explanations using your own LLM.
  • Multi-Cluster Management: Supports standard Kubernetes, AWS EKS, K3s, Kind, and K0s, with automated heartbeat detection and reconnection.
  • Integrated MCP Server: Allows AI models to perform over 100 types of cluster operations via secure, permission-aware tool calls.
  • Comprehensive Operations: Includes built-in Pod file management, real-time log streaming, shell access, and Helm chart management.
  • Flexible Security: Features role-based access control for users and groups, including namespace-level blacklisting and whitelisting.
  • Lightweight & Portable: Distributed as a single binary, compatible with Linux, macOS, and Windows across x86 and ARM architectures.

Related

  • Project
  • Project
  • Project
  • Project
  • Project