etcd 集群6

2022-01-19 11:17:20 浏览数 (1)

加减节点相关的操作

代码语言: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]#

下面演示一下在线添加删除节点的操作

0 人点赞