All, As per the link , <https://github.com/mmumshad/kubernetes-cka-practice-tes . . .

Jees Antony:
All,

As per the link , https://github.com/mmumshad/kubernetes-cka-practice-test-solution-etcd-backup-and-restore

Step 4,

Update new initial-cluster-token to specify new cluster

–initial-cluster-token=etcd-cluster-1

However , I don’t see above entry in /etc/kubernetes/manifests/etcd.yaml

controlplane $ grep -i token /etc/kubernetes/manifests/etcd.yaml
controlplane $

Is it fine to skip this ?

I also see “–initial-cluster-token etcd-cluster-1” in restore command . Is this required ?

OE:
Yes. From what I understand, this is only useful if you have multiple clusters that may overlap in terms of IP range

Tej_Singh_Rana:
Hello, @Jees Antony
initial cluster token, cluster name and initial-advertise-peer-urls are optional. Especially when we restore backup to the same cluster with a single master.