prototipando / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
1 stars 0 forks source link

kubectl not installed by google-cloud-sdk debian package, and not installable #336

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
(1) Install google-cloud-sdk from "deb http://packages.cloud.google.com/apt 
cloud-sdk-trusty main" on Ubuntu 14.04.3.

(2) "kubectl" is not installed (type -a kubectl, dpkg -S kubectl)

(3) Go to "https://cloud.google.com/container-engine/docs/tutorials/guestbook" 
or any other Google documentation that tells you how to install kubectl, and 
see the instructions to "$ gcloud components update kubectl".

(4) $ gcloud components update kubectl
You cannot perform this action because this Cloud SDK installation is 
managed by an external package manager.  If you would like to get the 
latest version, 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

(5) Go to https://developers.google.com/cloud/sdk/ and fail to have any ideas 
other than uninstalling gcloud and reinstalling it without a package manager.

$ gcloud info
Google Cloud SDK [0.9.83]

Platform: [Linux, x86_64]
Python Version: [2.7.6 (default, Jun 22 2015, 17:58:13)  [GCC 4.8.2]]
Site Packages: [Disabled]

Installation Root: [/usr/lib/google-cloud-sdk]
Installed Components:
  core: [2015.10.16]
  core-nix: [2015.10.16]
  gcloud: [2015.10.16]
  gsutil-nix: [4.15]
  gsutil: [4.15]
  bq: [2.0.18]
  bq-nix: [2.0.18]
System PATH: 
[/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lo
cal/games]
Cloud SDK on PATH: [False]

Installation Properties: [/usr/lib/google-cloud-sdk/properties]
User Config Directory: [/home/madeleine/.config/gcloud]
User Properties: [/home/madeleine/.config/gcloud/properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]

Original issue reported on code.google.com by madelein...@gmail.com on 23 Oct 2015 at 1:48

GoogleCodeExporter commented 8 years ago
We're working on this.

Original comment by z...@google.com on 24 Nov 2015 at 9:29

GoogleCodeExporter commented 8 years ago

Original comment by stephe...@google.com on 17 Dec 2015 at 6:17

GoogleCodeExporter commented 8 years ago
Any update on how to install kubectl with this?

ben@ubuntu:[ ~ ]
=> gcloud info
Google Cloud SDK [94.0.0]

Platform: [Linux, x86_64]
Python Version: [2.7.10 (default, Oct 14 2015, 16:09:02)  [GCC 5.2.1 20151010]]
Python Location: [/usr/bin/python2]
Site Packages: [Disabled]

Installation Root: [/usr/lib/google-cloud-sdk]
Installed Components:
  core: [2016.01.29]
  core-nix: [2016.01.29]
  gcloud: []
  gsutil-nix: [4.16]
  beta: [2016.01.29]
  gsutil: [4.16]
  bq: [2.0.18]
  alpha: [2016.01.29]
  bq-nix: [2.0.18]
System PATH: 
[/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lo
cal/games:/opt/apache-maven-3.3.9/bin]
Cloud SDK on PATH: [False]

Installation Properties: [/usr/lib/google-cloud-sdk/properties]
User Config Directory: [/home/ben/.config/gcloud]
User Properties: [/home/ben/.config/gcloud/properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]

Account: [ben...@gmail.com]
Project: [None]

Current Properties:
  [core]
    account: [ben...@gmail.com]

Logs Directory: [/home/ben/.config/gcloud/logs]
Last Log File: [/home/ben/.config/gcloud/logs/2016.02.02/16.06.13.282059.log]

Original comment by benjamin...@gmail.com on 2 Feb 2016 at 11:23

GoogleCodeExporter commented 8 years ago
You can install your own copy of the Cloud SDK via the instructions here: 
https://cloud.google.com/sdk/ (not the Debian-specific ones), and add kubectl 
in that installation.

Original comment by z...@google.com on 5 Feb 2016 at 11:52