设置 Cloud Deploy

本页面介绍了设置 Cloud Deploy 的步骤。如需了解 Cloud Deploy 的费用,请参阅价格

  1. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  2. Verify that billing is enabled for your Google Cloud project.

  3. Enable the Cloud Deploy API.

    Enable the API

    您可能需要启用其他 API 才能使用 Cloud Deploy 功能,包括 Google Kubernetes Engine、Cloud Storage 和 Cloud Build API。如需启用这些 API,请前往Google Cloud 控制台中的 API 库,然后搜索这些 API。
  4. 安装 Google Cloud CLI。 安装完成后,运行以下命令来初始化 Google Cloud CLI:

    gcloud init

    如果您使用的是外部身份提供方 (IdP),则必须先使用联合身份登录 gcloud CLI

  5. 如果您已安装 gcloud CLI,请确保您拥有最新版本:

     gcloud components update
    

后续步骤