Skip to main content
Glama

k8s-pilot

by bourbonkk

add_namespace_label

Assign or modify a label on a Kubernetes namespace using context, namespace, label key, and value. Returns updated namespace labels in JSON for cluster management.

Instructions

Add or update a label on a namespace.

Args: context_name: The Kubernetes context name namespace: The name of the namespace label_key: The label key to add label_value: The label value to set

Returns: JSON string containing the updated namespace labels

Input Schema

NameRequiredDescriptionDefault
context_nameYes
label_keyYes
label_valueYes
namespaceYes

Input Schema (JSON Schema)

{ "properties": { "context_name": { "title": "Context Name", "type": "string" }, "label_key": { "title": "Label Key", "type": "string" }, "label_value": { "title": "Label Value", "type": "string" }, "namespace": { "title": "Namespace", "type": "string" } }, "required": [ "context_name", "namespace", "label_key", "label_value" ], "title": "add_namespace_labelArguments", "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