cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Are HPA configurations captured with out of the box metrics

ronmacdonald
Organizer

I'm looking to dashboard health and scalability of pods for app teams.  I'm having trouble finding HPA configurations such as minReplicas and maxReplicas.  If these are captured, what is the metric name?

2 REPLIES 2

Eric_Yu
Dynatrace Advisor
Dynatrace Advisor

Unfortunately, there's a limitation in that regard for HPA metrics in K8s.

Here's some insight regarding this topic.

Dynatrace University (min 34:00): Kubernetes Resiliency and Costs with Dynatrace | On Demand | Dynatrace University

YT Link: https://youtu.be/aR_UxXvIidM?si=DxKreJoaBjHIY65h&t=2058

Eric Yu

HPA metrics are available via the kubernetes object state api, see link below.  Per this documentation the min/max replicas is stable.  I'll create an RFE as this would be invaluable for quick glance scale.

https://github.com/kubernetes/kube-state-metrics/blob/main/docs/metrics/workload/horizontalpodautosc...

Featured Posts