k8s-pilot

by bourbonkk
Integrations
  • Enables management of multiple Kubernetes clusters simultaneously, including CRUD operations on common resources like Deployments, Services, Pods, ConfigMaps, Secrets, Ingresses, StatefulSets, DaemonSets, Roles, and PersistentVolumes, as well as namespace and node management operations.

  • Supports creating and managing NGINX deployments within Kubernetes clusters, including setting up NGINX containers and connecting them to services.

  • Enables operations within the PyPy namespace in Kubernetes clusters, allowing resource deployment and management specific to this namespace.

Der zentrale Pilot für Ihre Kubernetes-Flotten ✈️✈️

k8s_pilot ist ein leichtgewichtiger, zentralisierter Control-Plane-Server zur gleichzeitigen Verwaltung mehrerer Kubernetes-Cluster .
Mit leistungsstarken Tools und intuitiven APIs können Sie alle Ihre Cluster von einem Cockpit aus beobachten und steuern.


🚀 Übersicht

  • 🔄 Unterstützt Multi-Cluster-Kontextwechsel
  • 🔧 Ermöglicht CRUD-Operationen auf den gängigsten Kubernetes-Ressourcen
  • ⚙️ Unterstützt von MCP für Claude AI und darüber hinaus

🧰 Voraussetzungen

  • Python 3.13 oder höher
  • uv -Paketmanager
  • Zugriff auf Kubernetes-Cluster ( ~/.kube/config oder In-Cluster-Konfiguration)
# Install uv (if not installed) # For MacOS brew install uv # For Linux curl -LsSf https://astral.sh/uv/install.sh | sh

Installation

# Clone the repository git clone https://github.com/bourbonkk/k8s-pilot.git cd k8s-pilot # Launch with uv + MCP uv run --with mcp[cli] mcp run k8s_pilot.py

Verwendung mit Claude Desktop

Verwenden Sie diese Konfiguration, um den k8s_pilot MCP-Server von Claude aus auszuführen:

{ "mcpServers": { "k8s_pilot": { "command": "uv", "args": [ "--directory", "<path-to-cloned-repo>/k8s-pilot", "run", "--with", "mcp[cli]", "mcp", "run", "k8s_pilot.py" ] } } }

Ersetzen Sie es durch das tatsächliche Verzeichnis, in das Sie das Repo geklont haben.

Szenario

Erstellen Sie eine Bereitstellung mit dem Image „nginx:latest“ im Namespace „pypy“ und erstellen Sie außerdem einen Dienst, der eine Verbindung damit herstellt.

Hauptmerkmale

Multi-Cluster-Verwaltung

  • Nahtlose Interaktion mit mehreren Kubernetes-Clustern
  • Ausführen kontextbezogener Vorgänge
  • Einfaches Wechseln zwischen Clustern über MCP-Eingabeaufforderungen

Ressourcenkontrolle

  • Anzeigen, Erstellen, Aktualisieren, Löschen:
    • Bereitstellungen, Dienste, Pods
    • ConfigMaps, Geheimnisse, Ingresses
    • StatefulSets, DaemonSets
    • Rollen, Clusterrollen
    • PersistentVolumes & Claims

Namespace-Operationen

  • Namespaces erstellen/löschen
  • Auflisten aller Ressourcen in einem Namespace
  • Verwalten von Bezeichnungen und Ressourcenkontingenten

Knotenverwaltung

  • Knotendetails und -bedingungen anzeigen
  • Knoten abgrenzen/entgrenzen, beschriften/beflecken
  • Pods pro Knoten auflisten

Lizenz

Dieses Projekt ist unter der MIT-Lizenz lizenziert. Weitere Informationen finden Sie in der Datei LICENSE .

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Ein leichter, zentralisierter Control Plane-Server, der die gleichzeitige Verwaltung mehrerer Kubernetes-Cluster ermöglicht und Kontextwechsel und CRUD-Operationen auf gemeinsamen Kubernetes-Ressourcen unterstützt.

  1. 🧰 Voraussetzungen
    1. Installation
      1. Verwendung mit Claude Desktop
        1. Szenario
          1. Hauptmerkmale
            1. Multi-Cluster-Verwaltung
            2. Ressourcenkontrolle
            3. Namespace-Operationen
            4. Knotenverwaltung
          2. Lizenz

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              This project is intended as a both MCP server connecting to Kubernetes and a library to build more servers for any custom resources in Kubernetes.
              Last updated -
              267
              Go
              MIT License
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              A server that enables LLMs to manage Kubernetes clusters through natural language commands, wrapping kubectl operations to provide a simplified interface for common Kubernetes tasks.
              Last updated -
              3
              Python
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants to interact with Kubernetes clusters through natural language, supporting core Kubernetes operations, monitoring, security, and diagnostics.
              Last updated -
              427
              Python
              MIT License
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              A gateway for Generative AI systems to interact with multiple Kubernetes clusters through Model Context Protocol, enabling comprehensive Kubernetes resource operations and multi-cluster management.
              Last updated -
              24
              1
              TypeScript
              • Apple

            View all related MCP servers

            ID: varavj97rf