compare_replicas
Identify outlier replicas by comparing per-pod usage, restarts, node, and revision hash to flag hot pods, leaks, stuck rollouts, and uneven node spread.
Instructions
Is one replica the outlier? Per-pod usage, restarts, node, revision hash; flags hot pods, leaks, stuck rollouts, and no node spread.
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": {
"service": "<service>"
},
"name": "compare_replicas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | Workload name as you would say it: a Deployment, StatefulSet, DaemonSet, Service, or Pod name | |
| namespace | No | Kubernetes namespace (required: no default configured; see list_namespaces) |