mmumshad / kubernetes-the-hard-way

Bootstrap Kubernetes the hard way on Vagrant on Local Machine. No scripts.
Apache License 2.0
4.6k stars 4.48k forks source link

[Bug]: ETCD restore issue #336

Closed Velan987 closed 6 months ago

Velan987 commented 6 months ago

Your Workstation

Windows 10 Laptop, 16 GB RAM, 8 core i7 CPU

What happened?

I am following below file to restore etcd backup. https://github.com/mmumshad/kubernetes-the-hard-way/blob/master/practice-questions-answers/cluster-maintenance/backup-etcd/etcd-backup-and-restore.md I have 3 control plane with stacked etcd cluster, when i try to restore etcd backup, etcd pod is not coming in "running" state. I am restoring the backup to separate data-directory and modifying the etcd.yaml manifest file. I also tried deleting /var/lib/etcd and restored the backup in /var/lib/etcd in this case etcd pod is healthy but it is acting as separate member, not joining in to existing etcd cluster.

Relevant output

No response

fireflycons commented 6 months ago

Hello @Velan987

This is not the place to ask such questions. Please ask on the Community Forum.