get_scaling_history
Retrieve HPA scaling history and current autoscaler status for Kubernetes deployments by namespace, optional deployment filter, and lookback window.
Instructions
Get HPA scaling history and current autoscaler status for deployments. Requires kube-state-metrics for historical data.
Args: namespace: Kubernetes namespace deployment_name: Filter to a specific deployment (optional) timeframe_minutes: How far back to look (1-1440)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_scaling_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | default | |
| deployment_name | No | ||
| timeframe_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |