For Backup and Restore Lab 2 Q15, the solution edits /etc/systemd/system/etcd.service instead of /etc/kubernetes/manifests/etcd.yaml when editing the data-dir path. Also, I need to modify the permission. I cannot find these steps in k8s documents. And why the steps in Backup and Restore Lab 2 Q15 is so different from Backup and Restore Lab 1 Q9? How can I find related information during exam? Thanks!
Hi @popokko77
This setup utilizes an external etcd server running as a systemd service, rather than as a static Pod located in the /etc/kubernetes/manifests
directory. Unlike backups performed from the control plane node where the etcd static pod manifest resides known as Stacked ETCD configuration. With external etcd, you must SSH into the etcd node to perform backups and restores. For more information, you can read here.
You need to ensure that the backup file needed for restoration is copied to the etcd node.
PS: For CKA, backup and restoring ETCD has been removed from the curriculum.
1 Like