Update service
k8s_update_servicePatch a Kubernetes Deployment in place to update its container image, replica count, environment variables, labels, or node constraints without recreating the service.
Instructions
Patch a Deployment in place (image, replicas, env, nodeSelector).
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": {
"service_id": "<service_id>"
},
"name": "k8s_update_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| force | No | ||
| image | No | ||
| labels | No | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| replicas | No | ||
| service_id | Yes | ||
| constraints | No |