mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-11-04 16:05:14 +00:00
Update _index.md
There is a mistake in the rke command making snapshot. the config file should be from the rke, not from the kube.
This commit is contained in:
1 parent
c7a074d7e7
commit
06daab11b5
1 file changed
+2
-2
@@ -19,9 +19,9 @@ To upgrade Rancher 2.x running in a high availability configuration, run an upgr
|
||||
|
||||
```
|
||||
# MacOS
|
||||
./rke_darwin-amd64 etcd snapshot-save --name <SNAPSHOT.db> --config kube_config_rancher-cluster.yml
|
||||
./rke_darwin-amd64 etcd snapshot-save --name <SNAPSHOT.db> --config rancher-cluster.yml
|
||||
# Linux
|
||||
./rke_linux-amd64 etcd snapshot-save --name <SNAPSHOT.db> --config kube_config_rancher-cluster.yml
|
||||
./rke_linux-amd64 etcd snapshot-save --name <SNAPSHOT.db> --config rancher-cluster.yml
|
||||
```
|
||||
|
||||
**Result:** RKE takes a snapshot of `etcd` running on each `etcd` node. The file is saved to `/opt/rke/etcd-snapshots`.
|
||||
|
||||
Reference in new issue
Block a user