
Login to each node and run the following commands to install docker, $ sudo apt updateĬreate the file ‘/etc/docker/daemon.json’ to fix cgroup error, add the following content to it. $ sudo hostnamectl set-hostname "k8s-node-1" // Run this command on node-1Īdd the following entries in /etc/hosts files on each node, 192.168.1.40 k8s-masterġ92.168.1.42 k8s-node-1 Step 2) Install Docker (Container Runtime) on all 3 nodes

$ sudo hostnamectl set-hostname "k8s-node-0" // Run this command on node-0 Use hostnamectl command to set hostname on each node, example is shown below: $ sudo hostnamectl set-hostname "k8s-master" // Run this command on master node Step1) Set hostname and add entries in /etc/hosts file Step 6) Test and Verify Kubernetes Cluster.Step 5) Deploy Calico Pod Network Add-on.Step 4) Initialize Kubernetes Cluster using kubeadm.Step 4) Install Kubectl, kubelet and kubeadm on all nodes.

You also need to create the BypassRAMCheck and BypassSecureBootCheck values and set also their data to 1. Add the Ubuntu 20.04 ISO install image Navigate to where you downloaded the Ubuntu 20.04 ISO image, highlight it, and click Open.

Now you need to right-click on the LabConfig key and select New > DWORD (32-bit) value and create a value named BypassTPMCheck, and set its data to 1.
