etcd V3 - adding member to cluster by runtime reconfiguration

1,102 views
Skip to first unread message

Maria Johny

unread,
Jun 26, 2018, 9:27:40 AM6/26/18
to etcd-dev

Hello all,

Can you please share where i could find the documentation to add members to an exisiting cluster via runtime reconfgiuration in etcd V3.

Thanks,
Maria

Maria Johny

unread,
Jun 26, 2018, 10:43:55 AM6/26/18
to etcd-dev
Adding: from the documentation:

Phase 1 - Inform cluster of new configuration

To add a member into etcd cluster, make an API call to request a new member to be added to the cluster. This is only way to add a new member into an existing cluster. The API call returns when the cluster agrees on the configuration change.


How can i use this for API V3? 

[root@es0b /usr/home/admin]# ETCDCTL_API=3 etcdctl member add <memberName> http://<ip>:2380
Error:  member name not provided.

What am i doing wrong here?

David Mitchell

unread,
Nov 13, 2018, 1:48:02 PM11/13/18
to etcd-dev
Probably figured it out by now, but I believe it wants --peer-urls=http://<ip>:2380

So, it'd be: 

ETCDCTL_API=3 etcdctl member add <memberName> --peer-urls=http://<ip>:2380
Reply all
Reply to author
Forward
0 new messages