deployment_update
Update an existing Kubernetes Deployment by specifying context, namespace, name, new image, and replica count. Returns the operation status.
Instructions
Update an existing Deployment in the specified namespace.
Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Deployment name image: The new container image to update replicas: The new number of replicas
Returns: Status of the update operation
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"context_name": "<context_name>",
"namespace": "<namespace>",
"name": "<name>",
"image": "<image>",
"replicas": "<replicas>"
},
"name": "deployment_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| image | Yes | ||
| replicas | Yes | ||
| namespace | Yes | ||
| context_name | Yes |