Remove entry in ~/.ssh/known_hosts
This is required if host key replaced in target server.
ssh-keygen -R HOSTNAME
ssh-keygen -R IP_ADDRESS
This is required if host key replaced in target server.
ssh-keygen -R HOSTNAME
ssh-keygen -R IP_ADDRESS
kubeadm token create --print-join-command
After cloned Ubuntu VM, some tasks are required.
/etc/hostname
/etc/hosts
rm /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server