aws / eks-charts

Amazon EKS Helm chart repository
Apache License 2.0
1.2k stars 973 forks source link

Failed to scrape Prometheus endpoint #1098

Open claudio-vellage opened 6 months ago

claudio-vellage commented 6 months ago

Describe the bug

After installation of the aws-cloudwatch-agent with image.tag=1.300037.0b583, the amazon/cloudwatch-agent fails to scrape the prometheus endpoints in the cluster, which I assume should be working?

Steps to reproduce

Install aws-cloudwatch-agent, set image.tag=1.300037.0b583, add list/watch to services in ClusterRole. The scraping doesn't succeed.

Expected outcome

The scraping of Prometheus metrics should work as expected out of the box.

Environment

Additional Context: n/a

claudio-vellage commented 6 months ago

I've tried to resolve this via RBAC in #1099, but that wasn't successful, I'm not sure why exactly the scraping fails, the logs don't provide more information.