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
Chart name: aws-cloudwatch-metrics
Chart version: 0.0.11
Kubernetes version: v1.29.3-eks-adc7111
Using EKS (yes/no), if so version? v1.29.3-eks-adc7111
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.
Describe the bug
After installation of the
aws-cloudwatch-agent
withimage.tag=1.300037.0b583
, theamazon/cloudwatch-agent
fails to scrape the prometheus endpoints in the cluster, which I assume should be working?Steps to reproduce
Install
aws-cloudwatch-agent
, setimage.tag=1.300037.0b583
, addlist/watch
toservices
inClusterRole
. 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