Get deployment status
get_deployment_statusCheck deployment readiness by comparing desired and ready replicas and reviewing rollout conditions, with automatic fallback to a StatefulSet of the same name.
Instructions
Report desired vs ready replicas and the rollout conditions for a Deployment, falling back to a StatefulSet of the same name.
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": "get_deployment_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Deployment | |
| name | Yes | ||
| exists | No | ||
| healthy | No | ||
| selector | No | ||
| namespace | Yes | ||
| conditions | No | ||
| ready_replicas | No | ||
| desired_replicas | No | ||
| updated_replicas | No | ||
| available_replicas | No |