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 upDid consul_sd_config support adding multi server? #3576
Comments
This comment has been minimized.
This comment has been minimized.
|
Dupe of #1538 |
brian-brazil
closed this
Dec 12, 2017
This comment has been minimized.
This comment has been minimized.
|
Sorry, I donnot think it's the same topic. Maybe using a DNS name, instead of a server ip seems to be a practical way. |
This comment has been minimized.
This comment has been minimized.
|
It's the same issue, that's not how Consul is intended to be used. |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 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. |
lock
bot
locked and limited conversation to collaborators
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
cauwulixuan commentedDec 12, 2017
•
edited
Here is my use case: I set up a consul cluster with serveral servers and clients, while in the Prometheus.yml, I can only set one server. I wanna add multi servers in the configs, in case the server I add in the Prometheus.yml go DOWN, the others can take over. just like:
consul_sd_configs:
- server: 'ip1:8500'
- server: 'ip2:8500'
- server: 'ip3:8500'
......
- server: 'ipN:8500'
Any suggestions? Thanks a lot.