Set deployment strategy
k8s_set_deployment_strategySet the update strategy for a Kubernetes Deployment to Recreate, RollingUpdate, or a custom configuration by specifying its name and namespace.
Instructions
Set deployment strategy (recreate, rolling, custom).
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": {
"name": "<name>",
"namespace": "<namespace>",
"strategy": "<strategy>"
},
"name": "k8s_set_deployment_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| strategy | Yes | ||
| namespace | Yes |