ETCD Backup and Restore in Kubernetes Cluster | Complete Guide

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 12

  • @chakriatwork3062
    @chakriatwork3062 27 днів тому

    People like you are making things easy to understand. Actually these topics are somewhat difficult to understand for new learner’s.Thanks a lot❤

  • @ashoknalla2068
    @ashoknalla2068 25 днів тому

    Excellent explanation. Very detailed with practical and troubleshooting

  • @rajesh-devops
    @rajesh-devops 4 місяці тому +2

    Superb video , excellent teaching, keep it up.

    • @devopshub
      @devopshub  4 місяці тому

      "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.

  • @gopalchandangole2284
    @gopalchandangole2284 4 місяці тому

    Great Video thanksss....

    • @devopshub
      @devopshub  4 місяці тому

      Thank you gopalchandangole2284, I am glad that you liked it

  • @erdi005
    @erdi005 4 місяці тому +1

    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

    • @devopshub
      @devopshub  3 місяці тому +1

      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

  • @spawar1841
    @spawar1841 4 місяці тому

    Hey sampat Are you using kubeadm in real time like in project or company

  • @dips_07
    @dips_07 3 місяці тому

    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 🙏

    • @aravindravikumar248
      @aravindravikumar248 2 місяці тому

      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.

  • @NewmanWilliam-g9i
    @NewmanWilliam-g9i 4 місяці тому

    Johnson Ruth Martinez William Martin Jose