Closed ncornag closed 8 years ago
Sounds good. A PR would be great. If you could do it against the alpine-consul-ui-upgrades
branch like you did last time, that'd be great :)
@ncornag this has been taken care of in recent updates to the development branch. Thanks for the suggestion!
The actual
consul-ip
script searches consul IPs to join and returns the first one. I think it is a better solution to give more than one. Sometimes that first consul container is down and the other containers cannot join the cluster. It could be achieved passing a set of well known IPs, or just everything we found under theconsul
dns name. I made the modifications and it works a lot better in situations where the containers go down and up. I will do a pull request for you to review.