加减节点相关的操作
代码语言:javascript复制[root@h104 etcd-v2.2.4-linux-amd64]# ./etcdctl member --help
NAME:
etcdctl member - member add, remove and list subcommands
USAGE:
etcdctl member command [command options] [arguments...]
COMMANDS:
list enumerate existing cluster members
add add a new member to the etcd cluster
remove remove an existing member from the etcd cluster
update update an existing member in the etcd cluster
help, h Shows a list of commands or help for one command
OPTIONS:
--help, -h show help
[root@h104 etcd-v2.2.4-linux-amd64]#
下面演示一下在线添加删除节点的操作