Kubewizard is An AI-Agent for automated Kubernetes troubleshooting, deployment, and management, based on LangChain and k8s related tools.
- Troubleshoot Kubernetes issues automatically
- Manage Kubernetes resources
- Search latest Kubernetes knowledge from internet
- Human in the Agent Loop, need approve when dangerous commands
- Chat memory
- Interactive console
Run the application with interactive console:
python main.py
Commands:
kubewizard>: help
Available commands:
- clear : Clear the chat history.
- history: Display the chat history.
- help : Print help info.
- exit : Exit the application.
- * : Ask me everything about your kubernetes cluster(why my nginx pod not ready)
-
Clone the repository:
git clone https://github.com/yourusername/kubewizard.git cd kubewizard
-
Install the dependencies:
pip install -r requirements.txt
-
Copy the example environment file and configure it, set your
OPENAI_API_KEY
andKUBECONFIG
cp .env.example .env
This project is licensed under the terms of the Apache-2.0 license. See the LICENSE
file for details.