k8s-pilot

by bourbonkk

Kubernetes フリートの中央パイロット ✈️✈️

k8s_pilotは、複数の Kubernetes クラスターを一度に管理するための軽量の集中型コントロール プレーン サーバーです。
強力なツールと直感的な API を使用すると、1 つのコックピットからすべてのクラスターを監視および制御できます。


🚀 概要

  • 🔄マルチクラスタコンテキストスイッチングをサポート
  • 🔧 最も一般的な Kubernetes リソースでCRUD 操作を有効にします
  • ⚙️ Claude AI およびそれ以降のMCPを搭載

🧰 前提条件

  • Python 3.13以上
  • uvパッケージマネージャー
  • Kubernetes クラスターへのアクセス ( ~/.kube/configまたはクラスター内構成)
# Install uv (if not installed) # For MacOS brew install uv # For Linux curl -LsSf https://astral.sh/uv/install.sh | sh

インストール

# 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

Claude Desktopでの使用

Claude 内から k8s_pilot MCP サーバーを実行するには、次の設定を使用します。

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

リポジトリをクローンした実際のディレクトリに置き換えます。

シナリオ

pypy 名前空間の nginx:latest イメージを使用してデプロイメントを作成し、それに接続するサービスも作成します。

主な特徴

マルチクラスタ管理

  • 複数のKubernetesクラスターとシームレスに連携
  • コンテキストに応じた操作を実行する
  • MCPプロンプトを介してクラスター間を簡単に切り替えます

リソース管理

  • 表示、作成、更新、削除:
    • デプロイメント、サービス、ポッド
    • ConfigMap、Secret、Ingress
    • ステートフルセット、デーモンセット
    • ロール、クラスターロール
    • 永続ボリュームとクレーム

名前空間操作

  • 名前空間の作成/削除
  • 名前空間内のすべてのリソースを一覧表示する
  • ラベルとリソース割り当てを管理する

ノード管理

  • ノードの詳細と条件を表示する
  • Cordon/uncordon、label/taintノード
  • ノードごとのポッドを一覧表示する

ライセンス

このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルをご覧ください。

-
security - not tested
-
license - not tested
-
quality - not tested

hybrid server

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

複数の Kubernetes クラスターを同時に管理し、共通の Kubernetes リソースでのコンテキスト切り替えと CRUD 操作をサポートする軽量の集中型コントロール プレーン サーバーです。

  1. 🧰 前提条件
    1. インストール
      1. Claude Desktopでの使用
        1. シナリオ
          1. 主な特徴
            1. マルチクラスタ管理
            2. リソース管理
            3. 名前空間操作
            4. ノード管理
          2. ライセンス

            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 -
              54
              1
              TypeScript
              • Apple

            View all related MCP servers

            ID: varavj97rf