etcd查看key-value

get/set key-value

    etcdctl get/set /key-path

    etcdctl watch --recursive /test/sm/default/apps

查看所有key-value

    curl -s http://127.0.0.1:2479/v2/keys/?recursive=true

查看指定key-value
    curl -s http://127.0.0.1:2479/v2/keys/services/default/tenantmanager

 

etcdctl ls /

etcdctl rm /message

posted on 2018-08-23 10:19 wenlin_gk 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/wenlin-gk/p/9522176.html