HPA with Prometheus
This topic describes how to configure HPA to read pod scaling recommendations from Prometheus.
HPA can be run with external custom application metrics using the Prometheus adapter and Avesha's external
metric, smartscaler_hpa_num_pods
.
The Smart Scaler agent chart, version 2.0.2 and later, supports Prometheus to extract metrics from the Inference Agent. The HPA can then read the extracted metrics from Prometheus.
For event scaling with Smart Scaler agent versions 2.9.28 or earlier, each application deployment in a namespace must have its own configured HPA. Without an individual HPA, event scaling fails.
However, starting with Smart Scaler agent versions 2.9.29 and later, event scaling no longer requires an individual HPA for each application deployment.