Kube Copilot banner
feiskyer feiskyer

Kube Copilot

DevOps community

Description

Kubernetes Copilot powered by AI (OpenAI/Claude/Gemini/etc)

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Kubernetes Copilot

Kubernetes Copilot powered by LLM, which leverages advanced language models to streamline and enhance Kubernetes cluster management. This tool integrates seamlessly with your existing Kubernetes setup, providing intelligent automation, diagnostics, and manifest generation capabilities. By utilizing the power of AI, Kubernetes Copilot simplifies complex operations and helps maintain the health and security of your Kubernetes workloads.

Features

  • Automate Kubernetes cluster operations using large language models.
  • Provide your own OpenAI, Azure OpenAI, Anthropic Claude, Google Gemini or other OpenAI-compatible LLM providers.
  • Diagnose and analyze potential issues for Kubernetes workloads.
  • Generate Kubernetes manifests based on provided prompt instructions.
  • Utilize native kubectl and trivy commands for Kubernetes cluster access and security vulnerability scanning.
  • Support for Model Context Protocol (MCP) protocol to integrate with external tools.

Installation

Install the kube-copilot CLI with the following command:

go install github.com/feiskyer/kube-copilot/cmd/kube-copilot@latest

Quick Start

Setup the following environment variables:

  • Ensure `kubectl` is installed on the local machine and the kubeconfig file is configured for Kubernetes cluster access.
  • Install `trivy` to assess container image security issues (only required for the audit command).
  • Set the OpenAI API key as the OPENAI_API_KEY environment variable to enable LLM AI functionality (refer below for other LLM providers).

Then run the following commands directly in the terminal:

Kubernetes Copilot powered by OpenAI

Usage:
  kube-copilot [command]

Available Commands:
  analyze     Analyze issues for a given resource
  audit       Audit security issues for a Pod
  completion  Gen