How it works...
As with most things, we start at the beginning. To integrate a new node, we need to add each necessary component of the stack. In this case, etcd is the first-and most complicated-portion. Generally we can follow the installation process as outlined in the Installing and configuring etcd recipe, but we absolutely must not start the etcd service just yet.
When we first bootstrapped etcd, we specified the initial-cluster parameter in the original configuration file. This parameter did not include pg4 when the cluster was established, so etcd will not acknowledge its attempts to join. We can modify the cluster definition by invoking the etcdctl command with the member add parameter. We only need to supply the name of the member ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access