Skip to content

Instantly share code, notes, and snippets.

@rimusz
Last active August 29, 2015 14:01
Show Gist options
  • Save rimusz/ce7a06fd127e0c96d8fb to your computer and use it in GitHub Desktop.
Save rimusz/ce7a06fd127e0c96d8fb to your computer and use it in GitHub Desktop.
core@core-01 ~ $ etcdctl ls --recursive /vulcan
/vulcan/hosts
/vulcan/hosts/test1
/vulcan/hosts/test1/locations
/vulcan/hosts/test1/locations/loc1
/vulcan/hosts/test1.com
/vulcan/hosts/test1.com/locations
/vulcan/hosts/test1.com/locations/loc1
/vulcan/hosts/test1.com/locations/loc1/upstream
/vulcan/hosts/test1.com/locations/loc1/path
/vulcan/hosts/test2.com
/vulcan/hosts/test2.com/locations
/vulcan/hosts/test2.com/locations/loc1
/vulcan/hosts/test2.com/locations/loc1/upstream
/vulcan/hosts/test2.com/locations/loc1/path
/vulcan/hosts/test3.com
/vulcan/hosts/test3.com/locations
/vulcan/hosts/test3.com/locations/loc1
/vulcan/hosts/test3.com/locations/loc1/upstream
/vulcan/hosts/test3.com/locations/loc1/path
/vulcan/hosts/test4.com
/vulcan/hosts/test4.com/locations
/vulcan/hosts/test4.com/locations/loc1
/vulcan/hosts/test4.com/locations/loc1/upstream
/vulcan/hosts/test4.com/locations/loc1/path
/vulcan/upstreams
/vulcan/upstreams/u1
/vulcan/upstreams/u1/endpoints
/vulcan/upstreams/test1_com
/vulcan/upstreams/test1_com/endpoints
/vulcan/upstreams/test1_com/endpoints/e1
/vulcan/upstreams/test2_com
/vulcan/upstreams/test2_com/endpoints
/vulcan/upstreams/test2_com/endpoints/e1
/vulcan/upstreams/test3_com
/vulcan/upstreams/test3_com/endpoints
/vulcan/upstreams/test3_com/endpoints/e1
/vulcan/upstreams/test4_com
/vulcan/upstreams/test4_com/endpoints
/vulcan/upstreams/test4_com/endpoints/e1
core@core-01 ~ $ etcdctl get /vulcan/hosts/test1.com/locations/loc1/upstream
test1_com
core@core-01 ~ $ etcdctl get /vulcan/hosts/test1.com/locations/loc1/path
/.*
core@core-01 ~ $ etcdctl get /vulcan/upstreams/test4_com/endpoints/e1
http://172.17.8.99:5003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment