filmov
tv
kubernetes tutorial | ETCD Backup and Restore using 'etcdctl' tool | Demo

Показать описание
*CERTIFIED KUBERNETES ADMINISTRATOR*
-------------------------------------------------------------------------
*kubernetes tutorial | ETCD Backup and Restore using "etcdctl" tool | Demo*
--------------------------------------------------------------------------------------------------------------------------
In this video, you are going to see a DEMO on "ETCD Backup and Restore"
For suggestions/feedback/doubts contact
Happy Learning !!!
===========================================================================================
*USEFUL LINKS*
----------------------------
*Operating ETCD Clusters*
*Backup and Restore ETCD*
*Install ETCD binaries*
*Kubectl Command Reference*
==========================================================================================
#cka #kubernetes #k8s #containers #vsparkz
*DEMO STEPS*
****************
*Step 1 - Connect to the k8S Cluster and Check ETCD Version*
-----------------------------------------------------------------------------------------------------
$ kubectl cluster-info
$ kubectl get nodes
$ kubectl get pods -n kube-system
$ kubectl describe pods pod_name -n kube-system
*Step 2 - Download and Install “etcdctl” Tool*
---------------------------------------------------------------------------
$ cp /tmp/etcd-v3.5.10-linux-amd64/etcdctl /usr/local/bin/
*Step 3 - Take a Backup from ETCD database using “etcdctl” Tool*
------------------------------------------------------------------------------------------------------------
*Step 4 - Delete the deployments/pods in the cluster*
------------------------------------------------------------------------------------------
$ kubectl delete deployment deployment_name
*Step 5 - Create a New ETCD volume directory and restore the Snapshot*
----------------------------------------------------------------------------------------------------------------------
$ mkdir /var/lib/etcd-bkp
*Step 6 - Update the ETCD static pod definition to use the New ETCD Volume*
--------------------------------------------------------------------------------------------------------------------
*Step 7 - Inspect the cluster after the ETCD backup restoration*
----------------------------------------------------------------------------------------------------------
$ kubectl get all
_THE END_
-------------------------------------------------------------------------
*kubernetes tutorial | ETCD Backup and Restore using "etcdctl" tool | Demo*
--------------------------------------------------------------------------------------------------------------------------
In this video, you are going to see a DEMO on "ETCD Backup and Restore"
For suggestions/feedback/doubts contact
Happy Learning !!!
===========================================================================================
*USEFUL LINKS*
----------------------------
*Operating ETCD Clusters*
*Backup and Restore ETCD*
*Install ETCD binaries*
*Kubectl Command Reference*
==========================================================================================
#cka #kubernetes #k8s #containers #vsparkz
*DEMO STEPS*
****************
*Step 1 - Connect to the k8S Cluster and Check ETCD Version*
-----------------------------------------------------------------------------------------------------
$ kubectl cluster-info
$ kubectl get nodes
$ kubectl get pods -n kube-system
$ kubectl describe pods pod_name -n kube-system
*Step 2 - Download and Install “etcdctl” Tool*
---------------------------------------------------------------------------
$ cp /tmp/etcd-v3.5.10-linux-amd64/etcdctl /usr/local/bin/
*Step 3 - Take a Backup from ETCD database using “etcdctl” Tool*
------------------------------------------------------------------------------------------------------------
*Step 4 - Delete the deployments/pods in the cluster*
------------------------------------------------------------------------------------------
$ kubectl delete deployment deployment_name
*Step 5 - Create a New ETCD volume directory and restore the Snapshot*
----------------------------------------------------------------------------------------------------------------------
$ mkdir /var/lib/etcd-bkp
*Step 6 - Update the ETCD static pod definition to use the New ETCD Volume*
--------------------------------------------------------------------------------------------------------------------
*Step 7 - Inspect the cluster after the ETCD backup restoration*
----------------------------------------------------------------------------------------------------------
$ kubectl get all
_THE END_
Комментарии