mcp-server-kubernetes
Version:
MCP server for interacting with Kubernetes clusters via kubectl
20 lines (19 loc) • 750 B
TypeScript
import { KubernetesManager } from "../types.js";
export declare const kubectlReconnectSchema: {
readonly name: "kubectl_reconnect";
readonly description: "Reconnect to the Kubernetes API server by recreating all API clients. Use this after cluster upgrades (e.g., EKS control plane upgrades that rotate ENIs/IPs) to force fresh DNS resolution and new TCP connections.";
readonly annotations: {
readonly readOnlyHint: false;
};
readonly inputSchema: {
readonly type: "object";
readonly properties: {};
readonly required: readonly [];
};
};
export declare function kubectlReconnect(k8sManager: KubernetesManager): Promise<{
content: {
type: string;
text: string;
}[];
}>;