Created
February 13, 2015 21:07
-
-
Save ianblenke/8aac408c3096a5256998 to your computer and use it in GitHub Desktop.
Find the CoreOS etcd leader
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
docker pull realguess/jq > /dev/null 2>&1 ; curl -sL http://127.0.0.1:7001/v2/admin/machines | docker run -i realguess/jq jq 'map(select(.state == "leader")) | .[].clientURL' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment