Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit 56bc9d5

Browse files
committed
README: add selfhosted reocvery doc
1 parent 10c3768 commit 56bc9d5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ bootkube start --asset-dir=my-cluster
5858

5959
### Recover a downed cluster
6060

61-
In the case of a partial or total control plane outage (i.e. due to lost master nodes) an experimental `recover` command can extract and write manifests from a backup location. These manifests can then be used by the `start` command to reboot the cluster. Currently recovery from a running apiserver or external running etcd cluster are the only supported methods.
61+
In the case of a partial or total control plane outage (i.e. due to lost master nodes) an experimental `recover` command can extract and write manifests from a backup location. These manifests can then be used by the `start` command to reboot the cluster. Currently recovery from a running apiserver, an external running etcd cluster, or an etcd backup taken from the self hosted etcd cluster are the methods.
6262

6363
To see available options, run:
6464

@@ -78,7 +78,13 @@ Recover from a running apiserver (i.e. if the scheduler pods are all down):
7878
bootkube recover --asset-dir=recovered --kubeconfig=/etc/kubernetes/kubeconfig
7979
```
8080

81-
For a complete recovery example please see the [hack/multi-node/bootkube-test-recovery](hack/multi-node/bootkube-test-recovery) script.
81+
Recover from an etcd backup when self hosted etcd is enabled:
82+
83+
```
84+
bootkube recover --asset-dir=recovered --etcd-backup-file=backup --kubeconfig=/etc/kubernetes/kubeconfig
85+
```
86+
87+
For a complete recovery example please see the [hack/multi-node/bootkube-test-recovery](hack/multi-node/bootkube-test-recovery) and the [hack/multi-node/bootkube-test-recovery-self-hosted-etcd](hack/multi-node/bootkube-test-recovery-self-hosted-etcd) scripts.
8288

8389
## Building
8490

0 commit comments

Comments
 (0)