Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upService Discovery for Kubernetes API Server #4016
Comments
nsauro
changed the title
SD for Kubernetes API Server
Service Discovery for Kubernetes API Server
Mar 26, 2018
This comment has been minimized.
This comment has been minimized.
|
I don't think that multiple layers of SD would be sane to support. In such a setup you should have DNS which you can use for this. |
This comment has been minimized.
This comment has been minimized.
|
Yea..we are using that currently, but was hoping to use ec2 or some other sd to help reduce the amount of differences in configurations between environments. Right now, our dns entries are different due to the different environments(and I cannot get dns search suffixing to work for whatever reason), which causes us to have to do some config management to generate configs for each env. Thanks anyway. |
This comment has been minimized.
This comment has been minimized.
|
You need configuration management to generate different configs for each Prometheus anyway as they all should have different external labels. |
brian-brazil
closed this
Mar 27, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
nsauro commentedMar 26, 2018
As per the documentation on
kubernetes_sd_configsMy use case is that I'm running Prometheus outside of the Kubernetes Cluster that it is monitoring(for fear that if the cluster goes haywire, it doesn't bring down our eye and ears with it). It would be nice to be able to use some kind of SD mechanism to find the API servers vs hardcoding in a list of servers.
Thanks!