kubernetes_sd_config role for istio virtual services

66 views
Skip to first unread message

Maksym Lushpenko

unread,
Feb 24, 2020, 4:42:26 PM2/24/20
to Prometheus Users
Please check this issue, would you consider adding support for istio in particular and perhaps other ingress controller to kubernetes_sd_config?

Brian Candler

unread,
Feb 25, 2020, 3:41:52 AM2/25/20
to Prometheus Users
Perhaps you could explain your problem a bit more.

You give an example of static configs:


To kubernetes, what are these? Services? Endpoints? Something else?

kubernetes_sd_config has roles for ingress, service, endpoint.  Do these not work with Istio?  Can you show what you've tried, and explain what happens when you try them?

Maksym Lushpenko

unread,
Feb 25, 2020, 5:20:38 AM2/25/20
to Brian Candler, Prometheus Users
Hi, Brian,

thanks for your answer. These links come from Istio VirtualService custom resource, actually, only domain name comes from them, https part has to be added. From my understanding, services/endpoints/ingress won't be able to discover them as they are custom resources. So, I haven't tried those because seems like they won't help bu please correct me if I am wrong.

Maksym Lushpenko

DevOps Engineer     .     HAL24K     .     M: +31 682 786 973     .     S: lordnemiroff




      




--
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/1f421125-6554-4e4b-b382-ff576c500889%40googlegroups.com.

Simon Pasquier

unread,
Feb 25, 2020, 11:40:03 AM2/25/20
to Maksym Lushpenko, Brian Candler, Prometheus Users
You'd need to write a custom service discovery based on the file SD [1].
See [2] for a list of existing projects which can provide some inspiration.


Reply all
Reply to author
Forward
0 new messages