Skip to content

Commit

Permalink
Add important note to etcd cluster restore (#924)
Browse files Browse the repository at this point in the history
Some platform does not have public IP available from inside VMs and
will cause container crashloop during restore.

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang authored and Markus Napp committed Jul 21, 2020
1 parent 503d5bd commit 5bca4b9
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions adoc/admin-cluster-disaster-recovery-restore-master-nodes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,15 @@ Replace `<NODE_IP>` with `master-0` cluster node IP address.
+
[IMPORTANT]
====
The `<NODE_NAME>` and `<NODE_IP>` must exist after `--initial-cluster` in `/etc/kubernetes/manifest/etcd.yaml`
The `<NODE_IP>` must be visible from inside the node.
```bash
ip addr | grep <NODE_IP>
```
====
+
[IMPORTANT]
====
The `<NODE_NAME>` and `<NODE_IP>` must exist after `--initial-cluster` in `/etc/kubernetes/manifests/etcd.yaml`
====
+
* Etcdctl:
Expand Down Expand Up @@ -214,7 +222,15 @@ Replace `<NODE_IP>` with cluster node IP address.
+
[IMPORTANT]
====
The `<NODE_NAME>` and `<NODE_IP>` must exist after `--initial-cluster` in `/etc/kubernetes/manifest/etcd.yaml` of the targeting node.
The `<NODE_IP>` must be visible from inside the node.
```bash
ip addr | grep <NODE_IP>
```
====
+
[IMPORTANT]
====
The `<NODE_NAME>` and `<NODE_IP>` must exist after `--initial-cluster` in `/etc/kubernetes/manifests/etcd.yaml`
====
+
[IMPORTANT]
Expand Down

0 comments on commit 5bca4b9

Please sign in to comment.