--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsub...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/b1235a62-31e7-4d96-bda1-d4e90984aa73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Where are you running your kubernetes cluster? What do you user for pod networking?If you use weave net, it's as easy as installing weave on your Prometheus host and running 'weave expose'. I think you can achieve similar with flannel and vpc networking.ThanksTom
Hi,--I am running a Prometheus to collect metrics from services running as pods in Kubernetes cluster(s). I want to keep Prometheus out of Kubernetes. Each pod exposes a /metrics scraping resource.Can someone explain (or point me to) how I need to configure Kubernetes to be able to scrape the pods?I do not want to include the Prometheus VM into SkyDNS.So I imagine I need to configure somehow that Prometeus is using minion IPs and pod ports to access the /metrics resources.Has anyone done this before?( I have seen https://www.weave.works/prometheus-kubernetes-deploying/ but this leaves exactly my use case open as "slightly harder" :o)Jan
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
To post to this group, send email to prometheus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/b1235a62-31e7-4d96-bda1-d4e90984aa73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
To post to this group, send email to prometheus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CAGoUHOMsVO_SDiX4%2Bsu3Ajpu%3Dr2LP%2B-e9yrDxZ_4xDMuhDzRtw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsub...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/16bb3861-0310-4f1f-89f9-bb5886420261%40googlegroups.com.
Another option is to run one Prometheus inside the k8s cluster, and use federation to extract the data. We've been doing this with some success, however the large the data, the more lag you get.Someday soon we'll have a Prometheus-as-a-proxy with the generic write API.
On Sat, Oct 1, 2016 at 11:51 PM, Jan Algermissen <algermi...@gmail.com> wrote:
Thank you for the replies.I can not make use of K8S magic because I cannot make Prometheus node part of the overlay network (I am monitoring more than one K8S cluster with one Prometheus)However, I wanted to quickly share the solution I found:I have set up a simple HTTP proxy per K8S cluster on a node that is in the given cluster's overlay network and can thus resolve the individual pod IPs. I can now make proxy requests to that proxy using the pod IPs.Then I use Prometheus' file_sd_configs and generate the targets file dynamically from the K8S API as a list of pod IPs and exposed ports.What is left is to configure the proxy in the file_sd_configs section.Thanks all,Jan
--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsubscri...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/16bb3861-0310-4f1f-89f9-bb5886420261%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsub...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CABbyFmpCTCaY0Pmx05eBJSPLPkbBUrLD6V30SJt%3D7E0pLFM7QA%40mail.gmail.com.