Select Page

Ubuntu and Debian contain by default preinstalled version of gcloud. But this installation cannot be updated using usual gcloud components update command. Therefore it is necessary to remove it and install gcloud from Google. See:http://stackoverflow.com/questions/32036989/kubernetes-set-up-on-ubuntu-on-google-compute

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

Installation of kubectl:

gcloud components install kubectl
gcloud components list