Can any one help me understanding this error I am getting while trying to set-up kubernetes. I am trying to follow this url and run the command
$ curl -sS https://get.k8s.io | bash
ERROR: (gcloud.components.update) The component manager is disabled for this installation
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:
https://developers.google.com/cloud/sdk/
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:
https://developers.google.com/cloud/sdk/
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:
https://developers.google.com/cloud/sdk/
ERROR: (gcloud.components.update) The component manager is disabled for this installation ... calling kube-up
You technically can install Kubernetes on a single node, it's not recommended. Separating nodes provides fault tolerance and high availability. The Ubuntu hosts the tutorial uses will be called MASTER using an IP address of 10.0. 0.200 for the master node and WORKER for the worker node.
Google's new Cloud Run service is a serverless platform built on Knative, the runtime environment that extends Kubernetes for serverless workloads, and the Functions Framework, which Google is also open sourcing for Node. js 10 today.
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:
gcloud components list
when you try to add the needed component for Kubernetes with:
gcloud components install kubectl
you end up with this error:
ERROR: (gcloud.components.update) The component manager is disabled for this installation
It is a known issue on the Google Cloud SDK issue tracker : Issue 336: kubectl not installed by google-cloud-sdk debian package, and not installable
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.
Here is one:
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
this last command should show kubectl installed and everything up to date.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With