# metrics server unable to scrape AWX pod metrics

**URL:** <https://forum.ansible.com/t/metrics-server-unable-to-scrape-awx-pod-metrics/37731>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [March 6, 2023, 1:18pm UTC](https://forum.ansible.com/t/metrics-server-unable-to-scrape-awx-pod-metrics/37731 "2023-03-06T13:18:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AWX\_Project2](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@AWX\_Project2](https://forum.ansible.com/u/AWX_Project2)\
**Post date:** [March 6, 2023, 1:18pm UTC](https://forum.ansible.com/t/metrics-server-unable-to-scrape-awx-pod-metrics/37731/1 "2023-03-06T13:18:01Z")

</div>

Hi team,

We have deployed AWX 20.1.0 on EKS cluster. To autoscale pods we deployed HPA and metrics server…  
Issue we are facing is: metrics server unable to scrape metrics. when we do kubectl get hpa it shows unknown for both the metrics CPU and memory.  
Is this a known issue or we are missing anything?  
Please help! Thanks for you help!

Thanks in advance,  
Ahmed

---

<div class="post-metadata">

**Author:** ![AWX\_Project2](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@AWX\_Project2](https://forum.ansible.com/u/AWX_Project2)\
**Post date:** [March 8, 2023, 6:25pm UTC](https://forum.ansible.com/t/metrics-server-unable-to-scrape-awx-pod-metrics/37731/2 "2023-03-08T18:25:46Z")

</div>

any updates on this will be of great help.

---

<div class="post-metadata">

**Author:** ![mani3887](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@mani3887](https://forum.ansible.com/u/mani3887)\
**Post date:** [March 8, 2023, 8:05pm UTC](https://forum.ansible.com/t/metrics-server-unable-to-scrape-awx-pod-metrics/37731/3 "2023-03-08T20:05:12Z")

</div>

What do you mean by metrics server? I was able to configure AWX with Prometheus and that worked as intended. I used HPA for 2 AWX replicas with 50 % average CPU utilization and memory utilization and that also worked as intended. I’m curious on the question related to HPA, it depends on the load AWX is receiving. I have seen it Unknown only at startup.
