Restart deployment
restart_deploymentPerform a rolling restart of a deployment by updating its pod template annotation. This causes all pods to be recreated.
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": {
"namespace": "<namespace>",
"deployment_name": "<deployment_name>",
"cluster_id": "<cluster_id>"
},
"name": "restart_deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, preview the change without executing it. | |
| namespace | Yes | Kubernetes namespace where the deployment is located. | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. | |
| deployment_name | Yes | Name of the deployment to restart. |