root@ip-172-31-26-133:/home/ubuntu# vim /etc/hosts root@ip-172-31-26-133:/home/ubuntu# sudo bash root@ip-172-31-26-133:/home/ubuntu# swapoff -a
MKDIR .KUBE:
Repeat the same process for the working node (node1 till kubeadm init command.
In the working node, we need to put the key and make a cluster with master(work1).
DUE TO SOME REASON (MACHINE CRASH) - CONSIDER THE FOLLOWING NAMING FOR THE MACHINES:
MASTER --> WORK1
WORKING NODE --> NODE1
\============================================