Skip to main content
Glama

MCP Kubernetes Server

by abhijeetka

label_resource

Assign labels to Kubernetes resources such as pods, services, or deployments by specifying the resource type, name, and desired label. Facilitates resource organization and management within clusters.

Instructions

Label a Kubernetes resource with the specified label

Args: resource_type: Type of the resource (e.g., pod, service, deployment) resource_name: Name of the resource to label label: Label to add (e.g., key=value) namespace: Namespace of the resource

Input Schema

NameRequiredDescriptionDefault
labelYes
namespaceNodefault
resource_nameYes
resource_typeYes

Input Schema (JSON Schema)

{ "properties": { "label": { "title": "Label", "type": "string" }, "namespace": { "default": "default", "title": "Namespace", "type": "string" }, "resource_name": { "title": "Resource Name", "type": "string" }, "resource_type": { "title": "Resource Type", "type": "string" } }, "required": [ "resource_type", "resource_name", "label" ], "title": "label_resourceArguments", "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/abhijeetka/mcp-k8s-server'

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