Update readme for etcd clusters

This commit is contained in:
Jonas Juselius
2021-09-23 08:42:31 +02:00
parent 18de464e2f
commit e2c4c8a2fa
2 changed files with 11 additions and 5 deletions

View File

@@ -74,13 +74,19 @@ Using fish:
```
etcdctl member add kN-1 --peer-urls=https://[ip2]:2380
```
6. ssh into `kN-1` and run the `etcd-join-cluster` script.
7. Add the next node `kN-2` to the cluster (on the master node):
6. ssh into `kN-1` and run the `etcd-join-cluster` script:
```
etcd-join-cluster kN-0=https://[ip0]:2380
```
7. Add the next node `kN-2` to the cluster on the master node `kN-0`:
```
etcdctl member add kN-2 --peer-urls=https://[ip2]:2380
```
8. ssh into `kN-2` and run the `etcd-join-cluster` script.
9. Zap (ctrl-c) the running etcd:s on kN-1 and 2.
8. ssh into `kN-2` and run the `etcd-join-cluster` script:
```
etcd-join-cluster kN-0=https://[ip0]:2380,kN-1=https://[ip1]:2380
```
9. Zap (ctrl-c) the running etcd:s on `kN-1` and `kN-2`.
10. Uncomment etcdNodes and set existing to true for all, and redeploy cluster
```
etcdNodes = {

Submodule modules updated: 92ebbb36b2...ae6ea2f3bf