add_namespace_label
Adds or updates a label on a specified Kubernetes namespace using context name, label key, and value. Returns JSON with updated namespace labels.
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
Name | Required | Description | Default |
---|---|---|---|
context_name | Yes | ||
label_key | Yes | ||
label_value | Yes | ||
namespace | Yes |