kubernetes service discovery quesition

18 views
Skip to first unread message

swapnil surve

unread,
Aug 24, 2020, 1:34:03 PM8/24/20
to Prometheus Users
Hi,

When using kubernetes sd config in prometheus, how frequently prometheus scrapes kubernetes master to get active targets to scrape? I think it does `watch` call to kubernetes master. That means it holds the connection to master. Does prometheus periodically close the connections? If there are many kubernetes sd configs, doesn't it overload master with many connections that remain active for long duration?

Regards,
Swapnil,
Reply all
Reply to author
Forward
0 new messages