Building a Kubernetes Home Lab environment from scratch might seem like a daunting task. However, it is actually pretty straightforward with the right tools in place. In this video, we are going to use Kubeadm to initialize a Kubernetes cluster from scratch in our home lab environment. Using Kubeadm takes some of the heavy lifting out of the underlying complexities of Kubernetes. We look at how to build the Kubernetes home lab cluster from scratch step-by-step. Join me in the adventure!
Subscribe to the channel: / @virtualizationhowto
My blog: https://www.virtualizationhowto.com
_____________________________________________________
Social Media: / vspinmaster
LinkedIn: / brandon-lee-vht
Github: https://github.com/brandonleegit
Introduction - 0:00
Talking about the lab environment and virtual machines needed - 0:53
How to leverage virtual machine snapshots in your home lab when learning Kubernetes - 2:13
Disabling virtual machine swap - 3:22
The actual commands to disable swap - 3:50
Installing Docker - 4:13
Installing CURL - 4:25
Adding the repository key for Kubernetes - 4:30
Adding the actual Kubernetes repository - 4:45
Running apt update - 4:55
Installing kubeadm, kubelet, kubectl, and Kubernetes - 5:02
Explaining why we are only running commands on the Kubernetes master node - 5:16
Running the kubeadm init command - 6:00
kubeadm init command finishes successfully and have the kubeadm join command - 6:20
The worker nodes are now caught up with the master node - 6:58
We still have the special join command to copy and paste into our worker nodes - 7:20
Notice the output of workers. They have successfully joined the Kubernetes cluster - 7:45
Kubectl commands are failing. This is because we haven't copied our kubeconfig to our HOME directory - 7:54
Nodes are in the not ready state. This is because we haven't deployed container networking - 8:30
We are going to deploy Calico for container networking - 8:45
After container networking we check the STATE of our Kubernetes nodes - 9:16
Wrapping up and thoughts on building a Kubernetes Home Lab from Scratch - 9:45
If you would like to read a full write up of how to build your Kubernetes Home Lab from scratch using virtual machines, read my blog post found here:
- https://www.virtualizationhowto.com/2...
Watch video Build a Kubernetes Home Lab from Scratch step-by-step! online without registration, duration hours minute second in high quality. This video was added by user VirtualizationHowto 23 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 142,478 once and liked it 2.7 thousand people.