Hi there, have a quick about etcd restore. Let’s say if I restore the etcd using . . .

Ajay:
Hi there, have a quick about etcd restore. Let’s say if I restore the etcd using etcdctl snapshot restore --data-dir=<new-location> snapshot.db option, do I have to update the static etcd pod yaml with this new data dir location … In kodekloud mock test just the cli command to restore itself seems working fine, but just curious is it enough ?

Alistair Mackay:
If you change the data files location to a new directory with --data-dir you do have to update the pod manifest - in the volumes section.
https://github.com/kodekloudhub/community-faq/blob/main/docs/etcd-faq.md#kubeadm-clusters-with-etcd-running-as-a-pod