How to automate to add the new Node Exporters to the targets array of prometheus.yml

30 views
Skip to first unread message

vikram yerneni

unread,
Mar 18, 2020, 6:38:51 PM3/18/20
to Prometheus Users
Fellas,
Asking for inputs for an old question asked in Prometheus Github: https://github.com/prometheus/prometheus/issues/2881
I have the setup as shown below:
Ansible deployment of Prometheus Server and Node exporter onto Kubernenets Cluster of 3 nodes

However, when the threshold reaches limits, Kubernenets will add new pods and node exporter will get installed (assuming). I am trying to find out a way to add those new node exporter pod entires into the prometheus.yaml file for node level metrics scraping.

Any help here fellas will be appreciated. 

Thanks
Vikram Yerneni
Reply all
Reply to author
Forward
0 new messages