gcloud component update fails

后端 未结 5 2071
醉酒成梦
醉酒成梦 2021-02-19 15:55

I\'ve deployed to VM\'s running Debian on GCE and have cron scripts that use gcloud commands.

I noticed that gcloud components update retuns this error

5条回答
  •  天涯浪人
    2021-02-19 16:18

    You cannot update components using the built in SDK tools on a compute engine instance. However you can download another local copy of the SDK from https://cloud.google.com/sdk/ (curl https://sdk.cloud.google.com | bash) and update your path accordingly to use the new SDK install, and you will have the component manager enabled.

提交回复
热议问题