<p>I am using <code>Kops</code> to setup my Kubernetes cluster.</p>

<p>This is how, I installed kops,</p>

<pre><code>wget https://github.com/kubernetes/kops/releases/download/1.6.1/kops-linux-amd64
chmod +x kops-linux-amd64
sudo mv kops-linux-amd64 /usr/local/bin/kops
</code></pre>

<p>My <code>Kubernetes</code> cluster is pretty old. Now, I want to upgrade it to latest version. I know that <code>kops upgrade cluster</code> works to upgrade the <code>Kubernetes</code>. But, before upgrading the <code>Kubernetes</code>, I want to make sure that my <code>Kops</code> version is latest.</p>

<p>Should I just remove running <code>kops</code>, that is </p>

<pre><code>rm -rf /usr/local/bin/kops
</code></pre>

<p>then download the latest release and place it in <code>/usr/local/bin/</code> </p>

<pre><code>wget https://github.com/kubernetes/kops/releases/download/1.11.0/kops-darwin-amd64
chmod +x kops-darwin-amd64
sudo mv kops-darwin-amd64 /usr/local/bin/kops
</code></pre>

<p>Is the above procedure correct ? If not, then what is the recommended way to upgrade the <code>Kops</code> ?</p>

Dinesh Ahuja
<p>Since you're using mac try,</p>

<pre><code>brew upgrade kops
</code></pre>
