简体   繁体   English

如何一次安装所有 gcloud 组件

[英]How to install all gcloud components at once

I would like to know how to install all of the Gcloud components at the same time.我想知道如何同时安装所有 Gcloud 组件。

在此处输入图像描述

As per the document ,根据文件

You can install the required components using gcloud components install COMPONENT-1 COMPONENT-2 , where COMPONENT-1 COMPONENT-2 are the Id's of the respective components.您可以使用gcloud components install COMPONENT-1 COMPONENT-2安装所需的组件,其中 COMPONENT-1 COMPONENT-2 是各个组件的 ID。

Currently there is no gcloud command that might help you to install all the components at once, so you will have to follow the above mentioned procedure to install them as required.目前没有 gcloud 命令可以帮助您一次安装所有组件,因此您必须按照上述过程根据需要安装它们。

If you want this feature to get added to the Google Cloud, then you can also raise a feature request where the engineering team will look into it.如果您希望将此功能添加到 Google Cloud,那么您还可以提出功能请求,工程团队将对其进行调查。 Also remember that there is no ETA for the feature requests.另请记住,功能请求没有 ETA。

As the Cloud SDK is constantly updated, the ways to interact with it often change too.由于 Cloud SDK 不断更新,与之交互的方式也经常发生变化。

The command below used to work and installed all components in one line, I checked today and it no longer works, however it may provide you with some insights into how to install all components in one go.下面的命令曾经工作并在一行中安装了所有组件,我今天检查它不再工作,但是它可以为您提供一些关于如何在一个 go 中安装所有组件的见解。

gcloud components list | gcloud 组件列表 | grep "^| Not" | grep "^| 不是" | sed "s/|(. )|(. )|(.*)|/\2/" | sed "s/|(. )|(. )|(.*)|/\2/" | xargs echo gcloud components update xargs echo gcloud 组件更新

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM