remove_node_label
Remove a specific label from a Kubernetes node by specifying the context name, node name, and label key. Returns the updated node labels as a JSON string. Streamlines label management in multi-cluster Kubernetes environments.
Instructions
Remove a label from a node.
Args: context_name: The Kubernetes context name node_name: The name of the node to modify label_key: The label key to remove
Returns: JSON string containing the updated node labels
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context_name | Yes | ||
label_key | Yes | ||
node_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"context_name": {
"title": "Context Name",
"type": "string"
},
"label_key": {
"title": "Label Key",
"type": "string"
},
"node_name": {
"title": "Node Name",
"type": "string"
}
},
"required": [
"context_name",
"node_name",
"label_key"
],
"title": "remove_node_labelArguments",
"type": "object"
}