add_node_label
Add or update labels on Kubernetes nodes by specifying the context, node name, label key, and value. Returns updated node labels in JSON format.
Instructions
Add or update a label to a node.
Args: context_name: The Kubernetes context name node_name: The name of the node to modify label_key: The label key to add label_value: The label value to set
Returns: JSON string containing the updated node labels
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context_name | Yes | ||
label_key | Yes | ||
label_value | Yes | ||
node_name | Yes |