pod_update
Modify pod labels in Kubernetes clusters using context_name, namespace, and pod name. Part of the k8s-pilot MCP server, it streamlines updates for efficient resource management.
Instructions
Update an existing pod's metadata (only labels can be updated for an existing pod).
Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The pod name labels: New labels to apply to the pod
Returns: Information about the updated pod
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context_name | Yes | ||
labels | No | ||
name | Yes | ||
namespace | Yes |