项目地址:https://github.com/evildecay/etcdkeeper
安装
wget https://github.com/evildecay/etcdkeeper/releases/download/v0.7.6/etcdkeeper-v0.7.6-linux_x86_64.zip
yum install -y unzip zip
unzip etcdkeeper-v0.7.6-linux_x86_64.zip
cd etcdkeeper
chmod +x etcdkeeper
./etcdkeeper
访问:http://192.168.2.200:8080/etcdkeeper/
启动参数
-h string
host name or ip address (default: "0.0.0.0", the http server addreess, not etcd address)
-p int
port (default 8080)
-sep string
Separator (default "/")
-usetls
use tls (only v3)
-cacert string
verify certificates of TLS-enabled secure servers using this CA bundle (only v3)
-cert string
identify secure client using this TLS certificate file (only v3)
-key string
identify secure client using this TLS key file (only v3)
-auth bool
use etcd auth
-timeout int
ETCD client connect timeout
测试
etcdctl put testkey "test key"
etcdctl put /aa/testkey "test key"