service_update
Modify Service metadata, such as labels, in Kubernetes clusters. Use context_name, namespace, and name to identify the Service, then apply updated labels to streamline resource management and organization.
Instructions
Update an existing Service's metadata (e.g., labels).
Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Service name labels: New labels to apply to the Service
Returns: Status of the update operation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context_name | Yes | ||
labels | Yes | ||
name | Yes | ||
namespace | Yes |
Input Schema (JSON Schema)
{
"properties": {
"context_name": {
"title": "Context Name",
"type": "string"
},
"labels": {
"additionalProperties": true,
"title": "Labels",
"type": "object"
},
"name": {
"title": "Name",
"type": "string"
},
"namespace": {
"title": "Namespace",
"type": "string"
}
},
"required": [
"context_name",
"namespace",
"name",
"labels"
],
"title": "service_updateArguments",
"type": "object"
}