Skip to content

Instantly share code, notes, and snippets.

@mcculloughsean
Created February 3, 2015 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcculloughsean/3d7336222f5ebc16da90 to your computer and use it in GitHub Desktop.
Save mcculloughsean/3d7336222f5ebc16da90 to your computer and use it in GitHub Desktop.
☁ ~ etcdctl -v
etcdctl version 0.4.6
☁ ~ ETCDCTL_PEERS="http://192.168.59.103:4001" etcdctl --debug ls
Cluster-Peers: http://127.0.0.1:4001
Curl-Example: curl -X GET http://127.0.0.1:4001/v2/keys/?consistent=true&recursive=false&sorted=false
Curl-Example: curl -X GET http://127.0.0.1:4001/v2/keys/?consistent=true&recursive=false&sorted=false
Error: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
☁ ~ etcdctl --debug --peers http://192.168.59.103:4001 ls
Cluster-Peers: http://127.0.0.1:4001
Curl-Example: curl -X GET http://127.0.0.1:4001/v2/keys/?consistent=true&recursive=false&sorted=false
Curl-Example: curl -X GET http://127.0.0.1:4001/v2/keys/?consistent=true&recursive=false&sorted=false
Error: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment