<p>I install the latest version of Kubernetes with the following command on Raspberry PI 3 running Raspbian Stretch.</p>

<pre><code>$ curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - &amp;&amp; \
  echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list &amp;&amp; \
  sudo apt-get update -q &amp;&amp; \
  sudo apt-get install -qy kubeadm
</code></pre>

<p>Currently this will install v1.10.0.</p>

<p>How can I install a specific version of Kubernetes? Let's say v1.9.6.</p>

<p>To install specific version of the package it is enough to define it during the <code>apt-get install</code> command:</p>

<pre><code>apt-get install -qy kubeadm=&lt;version&gt;
</code></pre>

<p>But in the current case <code>kubectl</code> and <code>kubelet</code> packages are installed by dependencies when we install <code>kubeadm</code>, so all these three packages should be installed with a specific version:</p>

<pre><code>$ curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - &amp;&amp; \
  echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list &amp;&amp; \
  sudo apt-get update -q &amp;&amp; \
  sudo apt-get install -qy kubelet=&lt;version&gt; kubectl=&lt;version&gt; kubeadm=&lt;version&gt;
</code></pre>

<p>where available <code>&lt;version&gt;</code> is:</p>

<pre><code>curl -s https://packages.cloud.google.com/apt/dists/kubernetes-xenial/main/binary-amd64/Packages | grep Version | awk '{print $2}'
</code></pre>

<p>For your particular case it is:</p>

<pre><code>$ curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - &amp;&amp; \
  echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list &amp;&amp; \
  sudo apt-get update -q &amp;&amp; \
  sudo apt-get install -qy kubelet=1.9.6-00 kubectl=1.9.6-00 kubeadm=1.9.6-00
</code></pre>
