Skip to main content
Glama

k8s-pilot

by bourbonkk

service_create

Create and configure Kubernetes Services in a specified namespace using the k8s-pilot MCP server. Define ports, selectors, and service type to manage access to cluster resources efficiently.

Instructions

Create a Service in the specified namespace.

Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Service name selector: A dictionary of labels to select the target pods ports: A list of ports (e.g., [{"port": 80, "target_port": 8080}]) service_type: The type of the Service (default is "ClusterIP")

Returns: Status of the creation operation

Input Schema

NameRequiredDescriptionDefault
context_nameYes
nameYes
namespaceYes
portsYes
selectorYes
service_typeNoClusterIP

Input Schema (JSON Schema)

{ "properties": { "context_name": { "title": "Context Name", "type": "string" }, "name": { "title": "Name", "type": "string" }, "namespace": { "title": "Namespace", "type": "string" }, "ports": { "items": {}, "title": "Ports", "type": "array" }, "selector": { "additionalProperties": true, "title": "Selector", "type": "object" }, "service_type": { "default": "ClusterIP", "title": "Service Type", "type": "string" } }, "required": [ "context_name", "namespace", "name", "selector", "ports" ], "title": "service_createArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bourbonkk/k8s-pilot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server