Rollout restart
k8s_rollout_restartRestart a Kubernetes workload rollout by stamping its pod template, triggering a rolling restart without changing the workload configuration.
Instructions
Restart a rollout (kubectl rollout restart): stamp the pod template.
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": {
"resource_type": "<resource_type>",
"name": "<name>"
},
"name": "k8s_rollout_restart"
}
}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. | |
| namespace | No | ||
| resource_type | Yes |