"Thank you for your kind words, Rajesh! We're thrilled to hear that you found the video valuable. Your support encourages us to continue delivering high-quality content.
Hi! I took my CKA exam yesterday, I got the question about ssh into node, and perform back up and restore of etcd with peer.key and peer.crt. If I passed those in when backing up, I received “no such file or directory” error on the peer.crt/peer.key. Any idea what to do here? Can’t find any examples out there that does this either. I also tried server.crt and server.key, but all I got was “permission denied”, so I suspect I have to authenticate with the peer flags somehow(?) These peer flags were also not present when checking the etcd pod’s commands. I do see in the docs, under Securing Communication that there are some peer flags for configuring etcd with secure peer comm., but these flags were unknown to the etcdctl tool
As per my knowledge, we do not use peer.crt and peer.key for taking etcd backups. The peer certificates (peer.crt and peer.key) are used for communication between etcd nodes in a clustered environment (peer-to-peer communication). When taking a backup of etcd, you should use server.crt, server.key, ca.crt
Hi @devopshub...need one clarification we are restoring the snapshot at new directory that is /var/lib/etcd-new right. But can we restore an etcd snapshot directly into the existing etcd data directory that is /var/lib/etcd i meam override the /var/lib/etcd data by restoring snapshot...if possible so we dont need to modify the etcd.yaml file... Thaks in advanced 🙏
That will throw an error saying the directory already exists. We can restore the snapshot only to a new directory. If you really font want to edit the etcd.yaml, you Mal pls delete the directory /var/lib/etcd first before restoring. But it is not recommended.
Superb video , excellent teaching, keep it up.
"Thank you for your kind words, Rajesh! We're thrilled to hear that you found the video valuable. Your support encourages us to continue delivering high-quality content.
Great Video thanksss....
Thank you gopalchandangole2284, I am glad that you liked it
Hey sampat Are you using kubeadm in real time like in project or company
Hi! I took my CKA exam yesterday, I got the question about ssh into node, and perform back up and restore of etcd with peer.key and peer.crt. If I passed those in when backing up, I received “no such file or directory” error on the peer.crt/peer.key. Any idea what to do here? Can’t find any examples out there that does this either.
I also tried server.crt and server.key, but all I got was “permission denied”, so I suspect I have to authenticate with the peer flags somehow(?) These peer flags were also not present when checking the etcd pod’s commands. I do see in the docs, under Securing Communication that there are some peer flags for configuring etcd with secure peer comm., but these flags were unknown to the etcdctl tool
As per my knowledge, we do not use peer.crt and peer.key for taking etcd backups.
The peer certificates (peer.crt and peer.key) are used for communication between etcd nodes in a clustered environment (peer-to-peer communication).
When taking a backup of etcd, you should use server.crt, server.key, ca.crt
Hi @devopshub...need one clarification we are restoring the snapshot at new directory that is /var/lib/etcd-new right. But can we restore an etcd snapshot directly into the existing etcd data directory that is /var/lib/etcd i meam override the /var/lib/etcd data by restoring snapshot...if possible so we dont need to modify the etcd.yaml file... Thaks in advanced 🙏
That will throw an error saying the directory already exists. We can restore the snapshot only to a new directory.
If you really font want to edit the etcd.yaml, you Mal pls delete the directory /var/lib/etcd first before restoring. But it is not recommended.
Johnson Ruth Martinez William Martin Jose