The k8s-pilot server provides a centralized control plane for managing multiple Kubernetes clusters with comprehensive operations on various resources.
Multi-Cluster Management: List clusters, switch between contexts, and perform cluster-aware operations
Resource Management: CRUD operations on Deployments, Services, Pods, ConfigMaps, Secrets, Ingresses, StatefulSets, DaemonSets, Roles, ClusterRoles, PersistentVolumes, Claims, ReplicaSets, and ServiceAccounts
Namespace Operations: Create/delete namespaces, manage labels, set resource quotas, and list resources
Node Management: View node details, manage labels and taints, cordon/uncordon nodes, and list pods per node
Monitoring: Fetch logs for pods (with container specification and tailing options) and inspect detailed resource information
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.
The Central Pilot for Your Kubernetes Fleets ✈️✈️
k8s_pilot is a lightweight, centralized control plane server for managing multiple Kubernetes clusters at once.
With powerful tools and intuitive APIs, you can observe and control all your clusters from one cockpit.
🚀 Overview
🔄 Supports multi-cluster context switching
🔧 Enables CRUD operations on most common Kubernetes resources
⚙️ Powered by MCP for Claude AI and beyond
Related MCP server: k8m
🧰 Prerequisites
Python 3.13 or higher
uvpackage managerAccess to Kubernetes clusters (
~/.kube/configor in-cluster config)
Installation
Usage with Claude Desktop
Use this config to run k8s_pilot MCP server from within Claude:
Replace with the actual directory where you cloned the repo.
Scenario
Create a Deployment using the nginx:latest image in the pypy namespace, and also create a Service that connects to it.
Key Features
Multi-Cluster Management
Seamlessly interact with multiple Kubernetes clusters
Perform context-aware operations
Easily switch between clusters via MCP prompts
Resource Control
View, create, update, delete:
Deployments, Services, Pods
ConfigMaps, Secrets, Ingresses
StatefulSets, DaemonSets
Roles, ClusterRoles
PersistentVolumes & Claims
Namespace Operations
Create/delete namespaces
List all resources in a namespace
Manage labels and resource quotas
Node Management
View node details and conditions
Cordon/uncordon, label/taint nodes
List pods per node
License
This project is licensed under the MIT License. See the LICENSE file for details.