Exposing custom metrics pushed on Azure Monitor to Horizontal Pod Autoscaler
Amarkumar Mishra - FT
21
Reputation points
I have an AKS service, inside each pod of this service we are running multiple servers. Each server is maintaining multiple connections & pushes the Total Number of connection count to a custom metric inside Azure Monitor using Azure Monitor API. Details of custom metrics are given below
Metric Namespace: custom-connection-count
Metric: total-connection-count
Here is the snapshot of the given metric
I have also launched azure-k8s-metrics-adapter as well inside AKS clsuter. Now how should I configure HPA to use this custom metrics? Please specify the HPA configuration required for using the above custom metrics?