gdcloud organizations zonal-configs create

名称

gdcloud organizations zonal-configs create - 为每个可用区创建 OrganizationZonalConfig 自定义资源 YAML 文件。

摘要

gdcloud organizations zonal-configs create [flags]

示例

To create an OrganizationZonalConfig file with various fields preset, run:

  gdcloud organizations zonal-configs create --name testOrg \
      --zones={zone1,zone2}
      --version 1.9.2-gdch.153 \
      --server-quota \
          o1-highmem1-40-gdc-metal=1,\
          o1-standard1-64-gdc-metal=2,\
          o1-highmem1-96-gdc-metal=3,\
          o1-highmem1-104-gdc-metal=4,\
          o1-highmem1-448-gdc-metal=5,\
          o1-highgpu1-48-gdc-metal=6 \
      --storage-sku \
          block-standard=100Ti,\
          file-standard=100Ti,\
          object-nearline=100Ti,\
          object-standard=100Ti \
      --admin-server \
          o1-standard1-64-gdc-metal=3
  This command writes the YAML files to the HOME directory in the format [org name]-[zone].yaml

可选标志

      --admin-server stringToString   Admin server type and the amount of org admin servers to allocate for that server type as a key-value pair. (default [])
      --name string                   Name of the referenced organization.
      --server-quota stringToString   Comma-separated list of key-value pairs for server types and their quotas for the worker machines. (default [])
      --storage-sku stringToString    Comma-separated list of key-value pairs for storage SKUs and their sizes for an organization. (default [])
      --version string                Version of the GDCH software.
      --zones stringArray             Comma-separated list of zone IDs to create a config for.

GDCLOUD 全局标志

以下标志适用于所有命令:--configuration--format--help--project--quiet

如需了解详情,请参阅 gdcloud CLI 参考概览页面。