k8s-pilot

by bourbonkk

service_update

Update metadata (e.g., labels) for Kubernetes Services in specific contexts and namespaces. Simplifies managing multiple clusters efficiently using k8s-pilot server.

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

NameRequiredDescriptionDefault
context_nameYes
labelsYes
nameYes
namespaceYes

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" }
ID: varavj97rf