Skip to content

knight42/kopilot

Repository files navigation

Kopilot 🧑‍✈️: Your AI Kubernetes Expert

GitHub GitHub last commit

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 kubectl krew install kopilot
Pre-built binaries for Linux GitHub 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

# Diagnose a CrashLoopBackOff pod
kopilot diagnose pod my-pod

Audit

# Audit a deployment named nginx
kopilot audit deploy nginx