LoginSignup
3
2

More than 5 years have passed since last update.

etcdクラスタにメンバーを追加する手順

Posted at

既存のetcdクラスタにメンバーを追加するには、新しいetcdノードを起動する前に、

etcdctl member add <name> https://xx.xxx.x.xxx:2380

...

ETCD_NAME="<name>"
ETCD_INITIAL_CLUSTER="<name>=https://xx.xxx.x.xxx:2380,XX=https://xx.xxx.x.xxx:2380,YY=https://xx.xxx.x.xxx:2380,ZZ=https://xx.xxx.x.xxx:2380"
ETCD_INITIAL_CLUSTER_STATE="existing"   

という感じにetcdctlコマンドで先にlistにエントリーを追加します。
あとは出力された情報(ETCD_XXX)を元に、etcdノードを起動すればok.

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2