Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ip-172-31-48-169:~$ etcdctl --debug --cert-file=/tmp/etcd_cert --key-file=/tmp/etcd_key --ca-file=/tmp/etcd_ca ls /
- start to sync cluster using endpoints(http://127.0.0.1:2379,http://127.0.0.1:4001)
- cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
- got endpoints(https://172.31.51.7:2379) after sync
- Cluster-Endpoints: https://172.31.51.7:2379
- cURL Command: curl -X GET https://172.31.51.7:2379/v2/keys/?quorum=false&recursive=false&sorted=false
- 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
- start to sync cluster using endpoints(http://127.0.0.1:2379,http://127.0.0.1:4001)
- cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
- got endpoints(https://172.31.51.7:2379) after sync
- Cluster-Endpoints: https://172.31.51.7:2379
- cURL Command: curl -X PUT https://172.31.51.7:2379/v2/keys/xxx -d "value=yyy"
- yyy
- ubuntu@ip-172-31-48-169:~$
- ubuntu@ip-172-31-48-169:~$ etcdctl --debug --cert-file=/tmp/etcd_cert --key-file=/tmp/etcd_key --ca-file=/tmp/etcd_ca ls /
- start to sync cluster using endpoints(http://127.0.0.1:2379,http://127.0.0.1:4001)
- cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
- got endpoints(https://172.31.51.7:2379) after sync
- Cluster-Endpoints: https://172.31.51.7:2379
- cURL Command: curl -X GET https://172.31.51.7:2379/v2/keys/?quorum=false&recursive=false&sorted=false
- /xxx
- ubuntu@ip-172-31-48-169:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement