k8s-pilot

by bourbonkk

remove_namespace_label

Remove a specific label from a namespace in Kubernetes. Specify the context, namespace, and label key to update and retrieve namespace labels in JSON format.

Instructions

Remove a label from a namespace.

Args: context_name: The Kubernetes context name namespace: The name of the namespace label_key: The label key to remove

Returns: JSON string containing the updated namespace labels

Input Schema

NameRequiredDescriptionDefault
context_nameYes
label_keyYes
namespaceYes

Input Schema (JSON Schema)

{ "properties": { "context_name": { "title": "Context Name", "type": "string" }, "label_key": { "title": "Label Key", "type": "string" }, "namespace": { "title": "Namespace", "type": "string" } }, "required": [ "context_name", "namespace", "label_key" ], "title": "remove_namespace_labelArguments", "type": "object" }
ID: varavj97rf