ETCD Backup & Restore in Kubernetes | K21Academy

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ก.ค. 2024
  • 𝐉𝐨𝐢𝐧 𝐨𝐮𝐫 𝐅𝐑𝐄𝐄 𝐌𝐚𝐬𝐭𝐞𝐫𝐜𝐥𝐚𝐬𝐬𝐞𝐬 𝐨𝐧:
    ➥ 𝐂𝐞𝐫𝐭𝐢𝐟𝐢𝐞𝐝 𝐊𝐮𝐛𝐞𝐫𝐧𝐞𝐭𝐞𝐬 𝐀𝐝𝐦𝐢𝐧𝐢𝐬𝐭𝐫𝐚𝐭𝐨𝐫 (𝐂𝐊𝐀) - bit.ly/31xDoAx
    ➥ 𝐂𝐞𝐫𝐭𝐢𝐟𝐢𝐞𝐝 𝐊𝐮𝐛𝐞𝐫𝐧𝐞𝐭𝐞𝐬 𝐀𝐩𝐩𝐥𝐢𝐜𝐚𝐭𝐢𝐨𝐧 𝐃𝐞𝐯𝐞𝐥𝐨𝐩𝐞𝐫 (𝐂𝐊𝐀𝐃) - bit.ly/3xRFYxl
    ➥ 𝐂𝐞𝐫𝐭𝐢𝐟𝐢𝐞𝐝 𝐊𝐮𝐛𝐞𝐫𝐧𝐞𝐭𝐞𝐬 𝐒𝐞𝐜𝐮𝐫𝐢𝐭𝐲 𝐒𝐩𝐞𝐜𝐢𝐚𝐥𝐢𝐬𝐭 (𝐂𝐊𝐒) - bit.ly/3xT0UUt
    ➡️ Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.
    ➡️ ETCD is a robust key-value store that is responsible for all data of a Kubernetes cluster. When we talk about cluster data, we are more specifically talking about the cluster state and the cluster configuration. I.e. things like deployments, pod state, node state, and configuration are stored here.
    ➡️ We should use the ETCDCTL tool to interact with the ETCD cluster. Let’s look at the steps involved in the backup:
    ➥ Create a data snapshot
    ➥ Copy the snapshot to a PVC
    ➥ Restore the snapshot in a new cluster
    💫 This video covers everything you need to know about the backup and restoring of ETCD in Kubernetes.💫
    You can learn the process in simple and easy steps! Grab your hot mug of coffee and dive into the video🚀
    𝐖𝐡𝐞𝐫𝐞 𝐡𝐞 𝐞𝐱𝐩𝐥𝐚𝐢𝐧𝐬:
    00:00 = Introduction
    00:09 = Agenda
    01:14 = Backup and Restore
    04:01 = Cluster Certificates
    05:45 = Upgrading Kubeadm Masters
    08:29 = Upgrading Kubeadm Workers
    09:34 = Demo: Backing Up and Restoring ETCD
    10:42 = Taking ETCD Snapshot and Verify
    12:38 = Backing Up the Certificates and Key Files
    13:40 = Kubernetes Certifications
    13:43 = Free Class on Docker & Kubernetes (CKA)
    13:46 = Registration Link for Free Class on CKA
    13:50 = Free Class on Certified Kubernetes Application Developer (CKAD)
    13:54 = Registration Link for Free Class on CKAD
    13:57 = Free Class on Certified Kubernetes Security (CKS)
    14:02 = Registration Link for Free Class on CKS
    𝐀𝐥𝐬𝐨, 𝐝𝐨 𝐧𝐨𝐭 𝐟𝐨𝐫𝐠𝐞𝐭 𝐭𝐨 𝐣𝐨𝐢𝐧 𝐮𝐬 𝐨𝐧 𝐨𝐮𝐫 𝐅𝐑𝐄𝐄 𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦 𝐠𝐫𝐨𝐮𝐩 telegram.me/k21dockerkubernetes 𝐟𝐨𝐫 𝐫𝐞𝐠𝐮𝐥𝐚𝐫 𝐮𝐩𝐝𝐚𝐭𝐞𝐬 𝐨𝐧 𝐃𝐨𝐜𝐤𝐞𝐫𝐬 & 𝐊𝐮𝐛𝐞𝐫𝐧𝐞𝐭𝐞𝐬
    🤔 𝐃𝐨 𝐲𝐨𝐮 𝐡𝐚𝐯𝐞 𝐪𝐮𝐞𝐬𝐭𝐢𝐨𝐧𝐬? 𝐋𝐞𝐭 𝐮𝐬 𝐤𝐧𝐨𝐰 𝐢𝐧 𝐭𝐡𝐞 𝐜𝐨𝐦𝐦𝐞𝐧𝐭 𝐬𝐞𝐜𝐭𝐢𝐨𝐧
    #etcd #etcdkubernetes #kubernetesetcd #etcdbackup #kubernetesetcdsetup #kubernetesetcdbackup #etcdtutorialkubernetes #kubernetesbackuprestore #etcddatabaserestore #howtosetupetcdcluster #kubernetesexternaletcd #kubernetes #k21academy #askatul
    Subscribe us and know more about latest Cloud technology: k21academy.com/youtube
    ---------------------------------------------------------------------------------------------------------------
    LET'S CONNECT ON SOCIAL ↴
    ➽ Facebook: k21academy.com/Facebook
    ➽ Linkedin:k21academy.com/linkedin
    ➽ Twitter: k21academy.com/twitter
    ➽ Instagram: k21academy.com/instagram
    See you next video!
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 17

  • @K21Academy
    @K21Academy  2 ปีที่แล้ว

    𝐉𝐨𝐢𝐧 𝐭𝐡𝐞 𝐅𝐑𝐄𝐄 𝐌𝐚𝐬𝐭𝐞𝐫𝐜𝐥𝐚𝐬𝐬 𝐨𝐧 𝐃𝐨𝐜𝐤𝐞𝐫 & 𝐊𝐮𝐛𝐞𝐫𝐧𝐞𝐭𝐞𝐬 𝐅𝐨𝐫 𝐁𝐞𝐠𝐢𝐧𝐧𝐞𝐫𝐬 𝐛𝐲 𝐜𝐥𝐢𝐜𝐤𝐢𝐧𝐠 𝐡𝐞𝐫𝐞 bit.ly/31xDoAx

    • @soni2510001
      @soni2510001 2 ปีที่แล้ว

      Can you please tell what are the alternatives key value store we can use instead of etcd?

  • @rajeshbongurala8491
    @rajeshbongurala8491 2 ปีที่แล้ว +1

    If staticpod of etcd is not in /etc/kubernetes/manifest, how to identify where is stored/available ?

    • @piyushjain2474
      @piyushjain2474 2 ปีที่แล้ว

      Under the kubelet config, the static pod location is mentioned you can check there the default location and identify the location.
      kubelet config file location: /var/lib/kubelet/config.yaml and search for the staticPodPath: /etc/kubernetes/manifests flag
      Regards
      Team K21

  • @dikirahman1270
    @dikirahman1270 2 ปีที่แล้ว +1

    thanks for the tutorial

    • @K21Academy
      @K21Academy  2 ปีที่แล้ว +1

      Thanks, keep watching!

  • @mohammedsuhailbasha4860
    @mohammedsuhailbasha4860 7 หลายเดือนก่อน

    Please make and upload more videos on upgrade self managed kubernetes cluster

    • @K21Academy
      @K21Academy  7 หลายเดือนก่อน +1

      Thanks for the suggestion, Stay tuned for more content!!😇

  • @jrrr86
    @jrrr86 10 หลายเดือนก่อน

    Hi, could you please let me know where I can get the documentation for installing etcd binaries? Thanks in advace

    • @K21Academy
      @K21Academy  10 หลายเดือนก่อน

      Hey, you can check from here: bit.ly/3ZmZ6RG

  • @soni2510001
    @soni2510001 2 ปีที่แล้ว +1

    Can you please tell what are the alternatives key value store we can use instead of etcd?

    • @piyushjain2474
      @piyushjain2474 2 ปีที่แล้ว +1

      There are many alternatives in the market for etcd. A few of them are- ZooKeeper, consul, MongoDb, reddit, etc. but ETCD is a famous one for the Kubernetes Etcd’s job within Kubernetes is to safely store critical data for distributed systems. It’s best known as Kubernetes’ primary datastore used to store its configuration data, state, and metadata. Also, production environments by large cloud providers such as AWS, Google Cloud Platform, and Azure and openshift used ETCD as a kubernetes database.
      Official Documentation: etcd.io/docs/v3.3/learning/why/
      Regards
      Team K21

    • @soni2510001
      @soni2510001 2 ปีที่แล้ว

      @@piyushjain2474 thanks for the update. If we want to use any azure native then can we go with redis cache instead of etcd?

  • @yukselbey913
    @yukselbey913 2 ปีที่แล้ว +1

    Hi, Thank you for the video and your effort. if they specify the certain cert files and the location
    Then How to restore it. I try one method but I am not sure. Could you please answer me restoring part? If they request specify the cert files location. How to restore it and How to know which one is trusted file client.crt
    Like: /opt/data/server.crt
    Like /opt/data/server.key
    Like /opt/data/client.crt
    ETC
    Thanks again

  • @vivekb1988
    @vivekb1988 2 ปีที่แล้ว

    Thanks for the excellent video..!! Will we be able to restore all our pods,deployments etc using this method..?

  • @rajeshbongurala8491
    @rajeshbongurala8491 2 ปีที่แล้ว

    Don't we need endpoints for backup and restore ?