- Diagnose any unhealthy workload in your cluster and tell you what might be the cause
- Audit Kubernetes resource and find the security misconfigurations
Distribution | Command / Link |
---|---|
macOS | brew install knight42/tap/kopilot |
Krew | kubectl krew install kopilot |
Pre-built binaries for Linux | GitHub releases |
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 toEnglish
. Valid options areChinese
,French
,Spain
, etc. KOPILOT_TOKEN_TYPE
will be available soon to let you specify AI services other than ChatGPT. Please stay tuned.
# Diagnose a CrashLoopBackOff pod
kopilot diagnose pod my-pod
# Audit a deployment named nginx
kopilot audit deploy nginx