Reference to K8s documentation - section Bootstrapping clusters with kubeadm.
This tutorial walks you through setting up Kubernetes Cluster on a local machine using Virtual Box.
We will use Vagrant to automate the provisioning of VirtualBox's VM.
LANGUAGE
- 🚧 Cluster diagram: 1 Control Plane & 2 Nodes.
- 🖥️ Machine operating system: Ubuntu 18.04 LTS (Bionic Beaver)
- ⚙️ System resource: 2 GB of RAM and 2 CPUs per machine.
- 📮 Unique hostname, MAC address, and product_uuid for every machines.
- 🧱 No firewall configuration. (Allow all traffic by default)
- 🌐 Full network connectivity between all machines in the cluster (private network, network interface enp0s8 of virtual machines).