Thank you Bartek, I can't run Prometheus Operator for my setup (I am developer with no cluster-admin access) - and I see no examples or links showing how to do the "port name based" setup? which is probably the way I have to go :) any links you care to share on that?
onsdag den 2. september 2020 kl. 13.26.26 UTC+2 skrev bwpl...@gmail.com: > Hey, > > Years ago I created this doc > https://docs.google.com/document/d/1S6O1czHtjR2DGfK2zeZDLr88wxyLRXB2JpH5g7YM1J8/edit > with > an overview of options, and nothing changed from that time. Maybe except > maturity and more adoption of one of the options: Prometheus Operator: See: > https://github.com/prometheus-operator/prometheus-operator > > Kind Regards, > Bartek Płotka (@bwplotka) > > > On Tue, 1 Sep 2020 at 13:37, klavs....@gmail.com <klavs....@gmail.com> > wrote: > >> Hi, >> >> I have a pod which already has: >> prometheus.io/target: 127.0.0.1:1161 >> >> But I also want the kubernetes_sd (kubernetes-jobs) scraper to scrape >> port 3903 on /metrics (a diff. container in the pod exposes that port). >> >> I can't find any documentation on kubernetes_sd on how to do that - and >> my googleing hasn't found an example :( >> >> -- >> 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/0336701b-0f79-4696-ad59-0c3c5f1e1885n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/prometheus-users/0336701b-0f79-4696-ad59-0c3c5f1e1885n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/dd9346d1-08c0-43fa-af88-e80531ca6118n%40googlegroups.com.