Install docker and kubeadmin,kubectl on all the three servers as mentioned in above documentation. Now login into master and execute as Refereed Over Here
Make node kubeadm init commands login as normal user and create .kube folder and config
Your Kubernetes control-plane has initialized successfully!
To start using your cluster, you need to run the following as a regular user:
mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
You should now deploy a pod network to the cluster.
Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
Then you can join any number of worker nodes by running the following on each as root:
kubeadm join 172.31.20.190:6443 --token pvx7ty.3vwwzeads1sjd5v3 \