https://github.com/knight42/kopilot
Your AI Kubernetes Expert
https://github.com/knight42/kopilot
chatgpt kubectl-plugin kubernetes openai
Last synced: 11 days ago
JSON representation
Your AI Kubernetes Expert
- Host: GitHub
- URL: https://github.com/knight42/kopilot
- Owner: knight42
- License: mit
- Created: 2023-03-19T15:37:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-06T12:02:10.000Z (over 2 years ago)
- Last Synced: 2025-04-02T08:11:14.518Z (3 months ago)
- Topics: chatgpt, kubectl-plugin, kubernetes, openai
- Language: Go
- Homepage: https://github.com/knight42/kopilot
- Size: 63.5 KB
- Stars: 178
- Watchers: 5
- Forks: 19
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kopilot 🧑✈️: Your AI Kubernetes Expert

## Highlight
* Diagnose any unhealthy workload in your cluster and tell you what might be the cause
* 
* Audit Kubernetes resource and find the security misconfigurations
* ## Installation
| Distribution | Command / Link |
|:---------------------------------:|:---------------------------------------------------------------:|
| macOS | `brew install knight42/tap/kopilot` |
| [Krew](https://krew.sigs.k8s.io/) | `kubectl krew install kopilot` |
| Pre-built binaries for Linux | [GitHub releases](https://github.com/knight42/kopilot/releases) |## Usage
Currently, you need to set two ENVs to run Kopilot:
* Set `KOPILOT_TOKEN` to specify your token.
* Set `KOPILOT_LANG` to specify the language, defaults to `English`. Valid options are `Chinese`, `French`, `Spain`, etc.
* `KOPILOT_TOKEN_TYPE` will be available soon to let you specify AI services other than ChatGPT. Please stay tuned.### Diagnose
```bash
# Diagnose a CrashLoopBackOff pod
kopilot diagnose pod my-pod
```### Audit
```bash
# Audit a deployment named nginx
kopilot audit deploy nginx
```