In the exam, I could not finish the etcd back up question. When I changed the vo . . .

Ramakant:
In the exam, I could not finish the etcd back up question. When I changed the volume mount path for etcd-data, the controlplane component did not come up. “Kubectl get pods -A” had no resource.
If I reverted back to /var/lib/etcd then it was working fine but if I make it to /var/lib/etcd-from-back-up it was not working. Anyone knows this?
@Mumshad Mannambeth @Tej_Singh_Rana?

Mirage:
@Ramakant During backup or during restore ?

Ramakant:
restore

Augusto:
You need to set up a diferent data-dir and then change the volume path to this new location in etcd-pod

Ramakant:
yes, i did that…

VIP:
Once you successfully restore, modify /etc/kubernetes/manifests/etcd.yaml and make below changes
Update --data-dir to use new target location
Update new initial-cluster-token to specify new cluster
Update volumes and volume mounts to point to new path

Mirage:
@VIP is it mandatory to restore to new cluster , i mean what if dont give any extra option asn just restore to original cluster? Do we sill need to pass those options like token, urls ?

VIP:
@Mirage

Ramakant:
but if you migrate to new cluster then it may make sense. in this scenario you have to be in the same cluster so only the data-sir should be enough