<p>I have to install kubernetes v1.13.7 on ubuntu 18.04.2 LTS in Internal network environment.</p>

<p>I can use docker and USB device.</p>

<p>actually, I can't download files through internet directly.</p>

<p>for one thing, I installed APIserver / controller / scheduler / etcd / coredns / proxy / flannel through docker load command.</p>

<p>but now, I should install kubeadm / kubelet / kubectl but I didn't install these.</p>

<p>how can I install kubernetes?</p>

<p>let me know your experience or websites</p>

strangedeveloper
<p>Here is step-by-step <a href="https://gist.github.com/onuryilmaz/89a29261652299d7cf768223fd61da02#download-kubernetes-rpms" rel="nofollow noreferrer">instruction</a> </p>

<p>As for the kubernetes part, you can download packages from the online workstation</p>

<pre><code>wget https://packages.cloud.google.com/yum/pool/e6aef7b2b7d9e5bd4db1e5747ebbc9f1f97bbfb8c7817ad68028565ca263a672-kubectl-1.6.0.x86_64.rpm
wget https://packages.cloud.google.com/yum/pool/af8567f1ba6f8dc1d43b60702d45c02aca88607b0e721d76897e70f6a6e53115-kubelet-1.6.0.x86_64.rpm
wget https://packages.cloud.google.com/yum/pool/e7a4403227dd24036f3b0615663a371c4e07a95be5fee53505e647fd8ae58aa6-kubernetes-cni-0.5.1.x86_64.rpm
wget https://packages.cloud.google.com/yum/pool/5116fa4b73c700823cfc76b3cedff6622f2fbd0a3d2fa09bce6d93329771e291-kubeadm-1.6.0.x86_64.rpm
</code></pre>

<p>and then just copy it over to your offline server via internal network </p>

<pre><code>scp &lt;folder_with_rpms&gt;/*.rpm &lt;user&gt;@&lt;server&gt;:&lt;path&gt;/&lt;to&gt;/&lt;remote&gt;/&lt;folder&gt;
</code></pre>

<p>Lastly, install packages</p>

<pre><code>yum install -y *.rpm
systemctl enable kubelet &amp;&amp; systemctl start kubelet
</code></pre>
