<p>How can I distribute the kube config file on worker nodes?</p>
<p>Only my master node has it (file under <code>~/.kube/config</code>), and I'm not sure what's the proper way to programmatically copy the file over to the worker nodes, so that I can use <code>kubectl</code> on all nodes.</p>

Michele Piccolini
<p>You can use the scp command in order to copy a file from one machine to another one.</p>
<p>run the following command from your master node for each worker node :</p>
<pre><code>[user@k8s-master]$ scp ~/.kube/config username@k8s-worker1:~/.kube/config
</code></pre>
