Advertisement
Guest User

Untitled

a guest
Jul 1st, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. ubuntu@ip-172-31-48-169:~$ etcdctl --debug --cert-file=/tmp/etcd_cert --key-file=/tmp/etcd_key --ca-file=/tmp/etcd_ca ls /
  2. start to sync cluster using endpoints(http://127.0.0.1:2379,http://127.0.0.1:4001)
  3. cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
  4. got endpoints(https://172.31.51.7:2379) after sync
  5. Cluster-Endpoints: https://172.31.51.7:2379
  6. cURL Command: curl -X GET https://172.31.51.7:2379/v2/keys/?quorum=false&recursive=false&sorted=false
  7. ubuntu@ip-172-31-48-169:~$ etcdctl --debug --cert-file=/tmp/etcd_cert --key-file=/tmp/etcd_key --ca-file=/tmp/etcd_ca set /xxx yyy
  8. start to sync cluster using endpoints(http://127.0.0.1:2379,http://127.0.0.1:4001)
  9. cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
  10. got endpoints(https://172.31.51.7:2379) after sync
  11. Cluster-Endpoints: https://172.31.51.7:2379
  12. cURL Command: curl -X PUT https://172.31.51.7:2379/v2/keys/xxx -d "value=yyy"
  13. yyy
  14. ubuntu@ip-172-31-48-169:~$
  15. ubuntu@ip-172-31-48-169:~$ etcdctl --debug --cert-file=/tmp/etcd_cert --key-file=/tmp/etcd_key --ca-file=/tmp/etcd_ca ls /
  16. start to sync cluster using endpoints(http://127.0.0.1:2379,http://127.0.0.1:4001)
  17. cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
  18. got endpoints(https://172.31.51.7:2379) after sync
  19. Cluster-Endpoints: https://172.31.51.7:2379
  20. cURL Command: curl -X GET https://172.31.51.7:2379/v2/keys/?quorum=false&recursive=false&sorted=false
  21. /xxx
  22. ubuntu@ip-172-31-48-169:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement