Kait - Kubernetes AI Tool
Project description
Kait (Kubernetes AI Tool)
kait
is an AI assisted kubernetes debugging tool which automatically troubleshoots, diagnoses, and fixes issues related to kubernetes.
kait
uses autonomous AI agents built using Microsoft's AutoGen
Installation and setup
You can install kait
directly using pip:
pip install kait
kait
requires an OpenAI API key which is read via the environment variable KAIT_OPENAI_KEY. You can provide a list of models to use and kait
will use the available model. It is recommended to use models with the capabilities of gpt-4. Larger contexts work better too e.g. 'gpt-4-1106-preview'. Your environment variable needs to point to a list of models in the following format:
[
{
"model": "gpt-4",
"api_key": "YOUR_OPENAI_API_KEY"
}
]
Usage
kait
requires kubectl to be installed and authenticated against the cluster you want to use.
To run kait
simply run:
kait debug <DESCRIPTION OF THE ISSUE TO DEBUG>
For a full list of options, run:
kait debug --help
Examples
A number of examples/ are provided so you can see how kait
performs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.