Kopilot ๐Ÿง‘โ€โœˆ๏ธ: Your AI Kubernetes Expert

March 28, 2023 ยท View on GitHub

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

DistributionCommand / Link
macOSbrew install knight42/tap/kopilot
Krewkubectl krew install kopilot
Pre-built binaries for LinuxGitHub 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