You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each time I install a new SDK node, it doesn't recognize the path "/usr/lib/google-cloud-sdk/bin" to (kubectl, ...)
I have to add it manually to PATH.
It even asks me after component update (gcloud components update), to remove the "old" path "/usr/lib/google-cloud-sdk/bin":
# gcloud container clusters create ...
Creating cluster cluster1...done.
Created [https://container.googleapis.com/v1/projects/gns3-data/zones/us-east1-d/clusters/cluster1].
kubeconfig entry generated for cluster1.
NAME ZONE MASTER_VERSION MASTER_IP MACHINE_TYPE NODE_VERSION NUM_NODES STATUS
cluster1 us-east1-d 1.6.7 X.X.X.X n1-standard-1 1.6.7 1 RUNNING
Updates are available for some Cloud SDK components. To install them,
please run:
$ gcloud components update
Run gcloud update:
# gcloud components update
...
Update done!
...
Updates are available for some Cloud SDK components. To install them,
please run:
...
WARNING: There are older versions of Google Cloud Platform tools on your system PATH.
Please remove the following to avoid accidentally invoking these old tools:
AJNOURI
changed the title
[GCP]: After installing/updating SDK, "kubectl" Not recognized
[GCE]: After installing/updating SDK, "kubectl" Not recognized
Aug 24, 2017
AJNOURI
changed the title
[GCE]: After installing/updating SDK, "kubectl" Not recognized
[Container Engine]: After installing/updating SDK, "kubectl" Not recognized
Oct 9, 2017
Each time I install a new SDK node, it doesn't recognize the path "/usr/lib/google-cloud-sdk/bin" to (kubectl, ...)
I have to add it manually to PATH.
It even asks me after component update (gcloud components update), to remove the "old" path "/usr/lib/google-cloud-sdk/bin":
# gcloud container clusters create ...
Run gcloud update:
# gcloud components update
Knowing that, after update these commands are nowhere but in "/usr/lib/google-cloud-sdk/bin/kubectl"
find / -name 'kubectl'
# lsb_release -a
# gcloud --version
The text was updated successfully, but these errors were encountered: