
What's BEST for Beginners Kubernetes NodePort or LoadBalancer?
CodeWithChandra
Learn how to set up a full Kubernetes cluster on VirtualBox using Ubuntu VMs, kubeadm, containerd, and Flannel — all from scratch! In this step-by-step guide, we’ll go through every stage of building your own local K8s environment, perfect for learning, testing, or development. 🧩 What You’ll Learn How to install and configure VirtualBox and Ubuntu VMs Setting up master and worker nodes (k8s-main, k8s-node1, k8s-node2) Installing containerd, kubeadm, kubelet, kubectl Initializing the Kubernetes control plane Configuring Flannel network plugin Connecting local kubectl and Helm via SSH Deploying your first Nginx app in Kubernetes Timestamps: 0:00 Intro + What we will do 3:10 Create Virtual Machines 8:58 Wait for VM + comments 19:07 Install packages 23:37 Clone Virtual Machines 27:54 Install kubernetes 45:05 Connect from local machine 48:21 Insall nginx on kubernetes cluster 54:04 Stop Virtual Machines Code: https://github.com/piotex/Projects/tree/main/Kubernetes/Kubernetes%20Cluster%20on%20VirtualBox%20(Ubuntu)