Setting File Permissions to 777
chmod 777 [FILENAME]
in master node
kubeadm token create
openssl x509 -pubkey -in /etc/kubernetes/pki/ca.crt | openssl rsa -pubin -outform der 2>/dev/null | \
openssl dgst -sha256 -hex | sed 's/^.* //'
sudo kubeadm join [Master Host IP]:6443 --token [Your Token] \
--discovery-token-ca-cert-hash sha256:[Your hash]
command, verify that the node has joined the cluster successfully :
kubectl get nodes -o wide