How do I find the join command for kubeadm on the master?

Chris Stryczynski picture Chris Stryczynski · Jul 1, 2018 · Viewed 33.3k times · Source

I've lost the original 'kubeadm join' command when I previously ran kubeadm init.

How can I retrieve this value again?

Answer

Chris Stryczynski picture Chris Stryczynski · Jul 1, 2018
kubeadm token create --print-join-command