Hey everyone, regarding the etcd restore, for me, we have an problem with Lesson . . .

Hinodeya:
I know why

Hinodeya:
because i made :%s in vi to change value

Hinodeya:
and it changes also this value --data-dir=/var/lib/etcd

Hinodeya:
to --data-dir=/var/lib/etcd-from-backup

Hinodeya:
that why it doesn’t works

Hinodeya:
thank @Mayur Sharma you’re my friend now lol

Mayur Sharma:
mystery resolved, cool :slightly_smiling_face:

unnivkn:
@Hinodeya can just delete etcd pod it may work. k -n kube-system delete po etcd

unnivkn:
fyi, etcd pod will come up automatically once you delete it

Hinodeya:
@unnivkn it’s not a problem in this case is just value story read above

unnivkn:
then check your running pod ,svc & deployments

Hinodeya:
I know that thank man it’s a staticpod so …

Hinodeya:
my issue is due as this value --data-dir=/var/lib/etcd

Hinodeya:
and even if you delete the pod it’ll be nothing due to staticpod configuration man

Hinodeya:
but thank anyway :wink:

unnivkn:
fyi… you can restore to /var/lib/etcd as well. it will overwrite the existing contents… thats why i suggest to delete etcd pod to take it effect & check for your other objects

Hinodeya:
Yeah but it’s not the topics of this lessons to overwrite man

Hinodeya:
mostly in CKA exam the ETCD running as a deamon in certain question it seems

Hinodeya:
it’s not the case in the lab unfortunatly

Hinodeya:
And still once even if you overwrite /var/lib/etcd the static pod manifest will not be overwritting that why it’s not sense to delete the pod :wink: