Skip to content

Instantly share code, notes, and snippets.

@jfoy
Created April 22, 2015 19:10
Show Gist options
  • Save jfoy/c96fd9e3dbd44ea5385e to your computer and use it in GitHub Desktop.
Save jfoy/c96fd9e3dbd44ea5385e to your computer and use it in GitHub Desktop.
jacfoym2:discovery jfoy$ etcdctl -v
etcdctl version 2.0.9
jacfoym2:discovery jfoy$ etcdctl --peers http://172.16.206.252:2379 --debug ls /
Cluster-Endpoints: http://localhost:2379, http://localhost:4001
Curl-Example: curl -X GET http://localhost:2379/v2/keys/?consistent=true&recursive=false&sorted=false
Curl-Example: curl -X GET http://localhost:2379/v2/keys/?consistent=true&recursive=false&sorted=false
Curl-Example: curl -X GET http://localhost: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]
jacfoym2:discovery jfoy$ etcdctl --peers 172.16.206.252:2379 --debug ls /
Cluster-Endpoints: http://localhost:2379, http://localhost:4001
Curl-Example: curl -X GET http://localhost:2379/v2/keys/?consistent=true&recursive=false&sorted=false
Curl-Example: curl -X GET http://localhost:2379/v2/keys/?consistent=true&recursive=false&sorted=false
Curl-Example: curl -X GET http://localhost: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