KoPylot: Your AI-Powered Kubernetes Assistant 🤖
KoPylot is an open-source AI-powered Kubernetes assistant. Its goal is to help developers and DevOps engineers to easily manage and monitor their Kubernetes clusters.
You can read more about the project in the blog post.
🤝 Note:
This repo from https://github.com/avsthiago/kopylot with fixed text-davinci-003 has been deprecated. Origin author is Thiago Alves.
💫 Features:
-
🔍 Audit: Audit a resource, such as pods, deployments, or services using an LLM model.
-
🩺 Diagnose: Diagnose resources, such as pods, deployments, or services using an LLM model.
-
💬 Chat: Start a chat with KoPylot to generate kubectl commands based on your prompts.
-
☸️ Ctl: A wrapper around kubectl. The arguments passed to the
ctlsubcommand are interpreted by kubectl.
🚀 Quick Start:
- Requests an API key from OpenAI.
- Export the key using the following command:
export KOPYLOT_AUTH_TOKEN=your_api_key
NOTE: If you want to avoid having the key in your .bashrc, .oh-my-zsh/custom dir, or your .bash_history or .zsh_history, a possible trick is to do something like this:
export KOPYLOT_AUTH_TOKEN=$(cat ../../../keys/openai)
- Install KoPylot using pip:
pip install kopylot-gpt
- Run KoPylot:
kopylot --help
📖 Usage:
Usage: kopylot [OPTIONS] COMMAND [ARGS]...
╭─ Options ──────────────────────────────────────────────────────────────────────────╮
│ --version │
│ --install-completion [bash|zsh|fish|powershell Install completion for the │
│ |pwsh] specified shell. │
│ [default: None] │
│ --show-completion [bash|zsh|fish|powershell Show completion for the │
│ |pwsh] specified shell, to copy it │
│ or customize the │
│ installation. │
│ [default: None] │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────────────────────╮
│ audit Audit a pod, deployment, or service using an LLM model. │
│ chat Start a chat with kopylot to generate kubectl commands based your │
│ inputs. │
│ ctl A wrapper around kubectl. The arguments passed to the ctl subcommand are │
│ interpreted by kubectl. │
│ diagnose Diagnose a resource e.g. pod, deployment, or service using an LLM model. │
╰────────────────────────────────────────────────────────────────────────────────────╯
Metadata
Release files for kopylot-gpt 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kopylot_gpt-0.0.3.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kopylot_gpt-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.1 kB
Release files / kopylot_gpt-0.0.3.tar.gz
| Download URL | kopylot_gpt-0.0.3.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b94acbfe08ca5e2d6f2d6200134e0c08af257d1df9f76f1de37328ee5600cfd
|
|
BLAKE2b-256 checksum How to use checksums |
e1917760a3b67a18eb1f15a03a27d13bb4e34675f66c93c7a8156f1dd5b88162
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.6 Darwin/22.6.0
|
Release files / kopylot_gpt-0.0.3-py3-none-any.whl
| Download URL | kopylot_gpt-0.0.3-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64f916af811042b7870120cd6b8fe9e95a6870885650338f6e64b4135bb1cc3b
|
|
BLAKE2b-256 checksum How to use checksums |
ac9ef4660fc61a8bc109cfbf2ee9d0ece0f97035aec63b0ea4d89fef40844ec1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.6 Darwin/22.6.0
|