Last active
December 16, 2015 20:53
-
-
Save dontrebootme/9402eec137ee7882789c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Query Consul DNS API for SRV records of healthy microbot services | |
➜ dig +short @10.7.0.15 -p 8600 microbot-web-microbot.service.nomad-intro.consul SRV | |
1 1 48909 docker2.node.nomad-intro.consul. | |
1 1 21888 docker3.node.nomad-intro.consul. | |
1 1 57285 docker1.node.nomad-intro.consul. | |
# Access one of the result via IP:port | |
Open browser to either: | |
10.7.0.21:57285 | |
10.7.0.22:48909 | |
10.7.0.23:21888 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment