kubectl_rollout
Manage Kubernetes rollout status, history, and revisions for deployments, daemonsets, and statefulsets; pause, resume, restart, or undo changes.
Instructions
Manage the rollout of a resource (e.g., deployment, daemonset, statefulset)
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": {
"subCommand": "<subCommand>",
"resourceType": "<resourceType>",
"name": "<name>",
"namespace": "<namespace>"
},
"name": "kubectl_rollout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the resource | |
| watch | No | Watch the rollout status in real-time until completion | |
| context | No | Kubeconfig Context to use for the command (optional - defaults to null) | |
| timeout | No | The length of time to wait before giving up (e.g., '30s', '1m', '2m30s') | |
| revision | No | Revision to rollback to (for undo subcommand) | |
| namespace | Yes | Kubernetes namespace | default |
| subCommand | Yes | Rollout subcommand to execute | status |
| toRevision | No | Revision to roll back to (for history subcommand) | |
| resourceType | Yes | Type of resource to manage rollout for | deployment |