Get autoscaler metrics
k8s_get_autoscaler_metricsRetrieve metrics for a Kubernetes HorizontalPodAutoscaler by name and namespace to monitor scaling behavior and diagnose autoscaling decisions.
Instructions
Get metrics for a HorizontalPodAutoscaler.
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>",
"namespace": "<namespace>"
},
"name": "k8s_get_autoscaler_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| namespace | Yes |