<p>Can any one help me understanding this error I am getting while trying to set-up kubernetes. I am trying to follow this <a href="http://kubernetes.io/v1.0/docs/getting-started-guides/gce.html" rel="noreferrer">url</a> and run the command </p>

<pre><code>$ curl -sS https://get.k8s.io | bash
ERROR: (gcloud.components.update) The component manager is disabled for this installation
</code></pre>

<h2>I am running the command on google compute Ubuntu machine. Appreciate any help</h2>

<p>Adding the complete error ( Ubunut 15.4), after full blown google sdk installation
.............
Unpacking kubernetes release v1.0.3
Creating a kubernetes on gce...
Starting cluster using provider: gce
... calling verify-prereqs
You cannot perform this action because the component manager has been
disabled for this installation.  If you would like get the latest
version of the Google Cloud SDK, please see our main download page at:</p>

<p><a href="https://developers.google.com/cloud/sdk/" rel="noreferrer">https://developers.google.com/cloud/sdk/</a></p>

<p>ERROR: (gcloud.components.update) The component manager is disabled for this installation
You cannot perform this action because the component manager has been
disabled for this installation.  If you would like get the latest
version of the Google Cloud SDK, please see our main download page at:</p>

<p><a href="https://developers.google.com/cloud/sdk/" rel="noreferrer">https://developers.google.com/cloud/sdk/</a></p>

<p>ERROR: (gcloud.components.update) The component manager is disabled for this installation
You cannot perform this action because the component manager has been
disabled for this installation.  If you would like get the latest
version of the Google Cloud SDK, please see our main download page at:</p>

<p><a href="https://developers.google.com/cloud/sdk/" rel="noreferrer">https://developers.google.com/cloud/sdk/</a></p>

<p>ERROR: (gcloud.components.update) The component manager is disabled for this installation
... calling kube-up</p>

<p>The problem is that some ubuntu (and others) distro come with the google cloud SDK installed through the local package manager, but it doesn't contain everything. kubectl for example is missing as seen with this command:</p>

<pre><code>gcloud components list
</code></pre>

<p>when you try to add the needed component for Kubernetes with:</p>

<pre><code>gcloud components install kubectl
</code></pre>

<p>you end up with this error:</p>

<blockquote>
  <p>ERROR: (gcloud.components.update) The component manager is disabled for this installation</p>
</blockquote>

<p>It is a known issue on the Google Cloud SDK issue tracker : <a href="https://code.google.com/p/google-cloud-sdk/issues/detail?id=336">Issue 336: kubectl not installed by google-cloud-sdk debian package, and not installable</a></p>

<p>Unfortunately, it provides a poor experience for first timer testing kubernetes as it's hard to find a quick AND CLEAN step by step solution.</p>

<p>Here is one:</p>

<pre><code>sudo apt-get update
sudo apt-get remove google-cloud-sdk
curl https://sdk.cloud.google.com | bash
exec -l $SHELL
gcloud init
gcloud components list
gcloud components install kubectl
gcloud components list
</code></pre>

<p>this last command should show kubectl installed and everything up to date.    </p>
