Created
June 21, 2018 06:42
-
-
Save motilevy/a892d9842208e36b7a1fe4f2084dd589 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
### Get list of node ip's from consul | |
curl consul:8500/v1/catalog/nodes | jq -r ' .[] | select(.Node | contains("services")) | .TaggedAddresses.lan' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment