UNPKG

mcp-server-kubernetes

Version:

MCP server for interacting with Kubernetes clusters via kubectl

121 lines (120 loc) 4.86 kB
export declare const createDeploymentSchema: { readonly name: "create_deployment"; readonly description: "Create a new Kubernetes deployment"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly name: { readonly type: "string"; }; readonly namespace: { readonly type: "string"; }; readonly template: { readonly type: "string"; readonly enum: ["ubuntu", "nginx", "busybox", "alpine", "custom"]; }; readonly replicas: { readonly type: "number"; readonly default: 1; }; readonly ports: { readonly type: "array"; readonly items: { readonly type: "number"; }; readonly optional: true; }; readonly customConfig: { readonly type: "object"; readonly optional: true; readonly properties: { readonly image: { readonly type: "string"; }; readonly command: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly args: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly ports: { readonly type: "array"; readonly items: { readonly type: "object"; readonly properties: { readonly containerPort: { readonly type: "number"; }; readonly name: { readonly type: "string"; }; readonly protocol: { readonly type: "string"; }; }; }; }; readonly resources: { readonly type: "object"; readonly properties: { readonly limits: { readonly type: "object"; readonly additionalProperties: { readonly type: "string"; }; }; readonly requests: { readonly type: "object"; readonly additionalProperties: { readonly type: "string"; }; }; }; }; readonly env: { readonly type: "array"; readonly items: { readonly type: "object"; readonly properties: { readonly name: { readonly type: "string"; }; readonly value: { readonly type: "string"; }; readonly valueFrom: { readonly type: "object"; }; }; }; }; readonly volumeMounts: { readonly type: "array"; readonly items: { readonly type: "object"; readonly properties: { readonly name: { readonly type: "string"; }; readonly mountPath: { readonly type: "string"; }; readonly readOnly: { readonly type: "boolean"; }; }; }; }; }; }; }; readonly required: readonly ["name", "namespace", "template"]; }; };