Hey people, If I am doing etcd restore , is it a must I restore to /var/lib ? because I restored to another path like /etc/etcdrestore but everything disappeared afterwards , I mean like no pods at all even in kube-system afterwards ( and I put this in volume and volumemount and the --data dir option too . Meanwhile when I put the backup in /var/lib/etcdrestore it was okay . Please advise
@Bukola This always trips me up…you have to remember to do one very important thing, or it will result in what you see. So, yes, you can restore anywhere. BUT, you must remember to update the
etcd.yaml file in the
/etc/kubernetes/manifests directory and update the container image’s command argument
--data-dir to the location of the restored snapshot. HTH.
@Craig Shea yes I did all those . But I noticed it doesn’t work when I put it on another path like /etc but it works in /var
Sorry, I need to learn to read