Background:
I have installed Prometheus on AKS using the helm chart stable/prometheus-operator.
The Problem:
I had couple of VMs (Linux and Windows), where node exporter and wmi exporter had installed that need to connect to the Prometheus running on Kubernetes. I cannot figure out how to add scrape targets to the Prometheus server. The prometheus.io site describes how I can mount a prometheus.yml file (which contains a list of scrape targets) to a Prometheus Docker container -- I have done this locally and it works. However, I don't know how to specify scrape targets for a Prometheus setup installed via Kubernetes-Helm. I am also not clear on how to expose metrics in a Kubernetes Pod.
Zhang
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/78ac1367-4cf4-428f-9471-22281779bdc7o%40googlegroups.com.
On Jun 11, 2020, at 9:01 PM, 赵一晗 <zhaoyi...@gmail.com> wrote: