<p>When i run <code>kubeadm init</code> it shows a token that I should use from the other hosts to connect to this host.  Where is that token stored?  I'm trying to figure out more ways to automate this by adding kubeadm inside of Terraform.  </p>

<p>Thanks for any help!</p>

<p>The instruction for Kubernetes 1.9.x (and above) can be found <a href="https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-token/#cmd-token-create" rel="noreferrer">here</a>.</p>

<p>The commands I used are:</p>

<pre><code>kubeadm token generate
kubeadm token create &lt;generated-token&gt; --print-join-command --ttl=0
</code></pre>
