Update etcd-backup-and-restore.md

pull/634/head
vpalazhi 2021-03-25 18:53:55 -04:00 committed by GitHub
parent 309d66def9
commit 417edac191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ As a result, the only required option for the restore command is the **--data-di
# 4. Modify /etc/kubernetes/manifests/etcd.yaml # 4. Modify /etc/kubernetes/manifests/etcd.yaml
We have now restored the etcd snapshot to a new path on the controlplane - **/var/lib/etcd-from-backup**, so the only change to be made in the YAML file is to change the hostPath for the volume called **etcd-data** from old directory (/var/lib/etcd) to the new directory **/var/lib/etcd-from-backup**. We have now restored the etcd snapshot to a new path on the controlplane - **/var/lib/etcd-from-backup**, so, the only change to be made in the YAML file, is to change the hostPath for the volume called **etcd-data** from old directory (/var/lib/etcd) to the new directory **/var/lib/etcd-from-backup**.
``` ```
volumes: volumes: