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 | Provenance | Actions |
|---|---|---|---|---|
| kopylot_gpt-0.0.3.tar.gz | 8.8 kB | Without provenance | Details for kopylot_gpt-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kopylot_gpt-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for kopylot_gpt-0.0.3-py3-none-any.whl |
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
|
Security for kopylot-gpt 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.