Kubernetes AI Management
STDIOAI-powered system for Kubernetes management through natural language interaction.
AI-powered system for Kubernetes management through natural language interaction.
AI-Powered Kubernetes Management (MCP + Agent)
⎈ K8s AI Management ├── 🤖 MCP Server ├── 🔍 K8s Tools └── 🚀 Agent mode with Rest API
This project combines the power of AI with Kubernetes management. Users can perform real-time diagnostics, resource monitoring, and smart log analysis. It simplifies Kubernetes management through conversational AI, providing a modern alternative.
💡 Just ask questions naturally - no need to memorize commands!
The project is organized into the following modules:
This AI-powered system understands natural language queries about your Kubernetes cluster. Here are some of the capabilities provided by the system which can be queried using natural language:
Note: The system uses AI to analyze patterns in logs, events, and resource usage to provide intelligent diagnostics and recommendations.
Requirement | Version |
---|---|
☕ JDK | 17 or later |
🧰 Maven | 3.8 or later |
⎈ Minikube/Any Kubernetes cluster | Configured ~/.kube/config |
Note: The system uses the kubeconfig file from
~/.kube/config
, so make sure it is properly configured.
# Build all modules mvn clean package # Run the MCP server java -jar mcp-server/target/mcp-server-1.0-SNAPSHOT.jar # Alternatively, run the agent directly java -jar agent/target/agent-*-fat.jar
Install minikube and create a nginx deployment:
# Install minikube brew install minikube # Start minikube minikube start # Make sure kubeconfig is set kubectl config use-context minikube # Deploy nginx kubectl create deployment nginx --image=nginx:latest # Check whether nginx is running kubectl get pods
Note: You should see
nginx
pod in the output
Refer to mcp-server/README.md for instructions on how to integrate with Claude Desktop
Refer to agent/README.md for instructions on how to run the agent
This project is licensed under the MIT License - see the LICENSE file for details.