rollback_deployment
Rolls back a Kubernetes Deployment to a specific or previous revision using ReplicaSet history, restoring the pod template from that revision.
Instructions
Roll back a Deployment to a previous revision.
If revision is not specified, rolls back to the previous revision. Uses ReplicaSet history to find the target revision's 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": {
"name": "<name>"
},
"name": "rollback_deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| revision | No | ||
| namespace | No | default | |
| cluster_alias | No |