gdcloud database clusters create

이름

gdcloud database clusters create - DBCluster 커스텀 리소스를 만듭니다.

개요

gdcloud database clusters create CLUSTER_NAME [flags]

EXAMPLES

To create a DBCluster custom resource with database version PostgreSQL 14 with name "postgresql-db", run:

  gdcloud database clusters create postgresql-db \
    --database-version=POSTGRESQL_14

To create a DBCluster custom resource with database version Oracle 19 with name "oracle-db" in the project "db", run:

  gdcloud database clusters create oracle-db --project=db \
    --database-version=ORACLE_19

To create a DBCluster custom resource with database version AlloyDB Omni 15 with name "alloydbomni-db" in the project "db", run:

  gdcloud database clusters create alloydbomni-db --project=db \
    --database-version=ALLOYDBOMNI_15

필수 플래그

      --admin-password string     initial database password for admin user
      --database-version string   database version of the DBCluster to be created.

선택적 플래그

      --availability-type string    level of availability. (zonal or zonal_ha) (default "zonal")
      --backup-retention-days int   number of days to keep backups since creation (1 ~ 90 days). (default 30)
      --cpu int                     number of cores to be used for the database.
      --database-flags string       initial database flags
      --memory string               amount of memory for the database.
      --no-backup                   disables daily backup.
      --storage-size string         amount of storage allocated to storing data.
      --tier string                 machine type for a DBCluster with preset resources configuration (high-performance, standard or minimal). (default "standard")

GDCLOUD 전체 플래그

이러한 플래그는 모든 명령어에서 사용할 수 있습니다(--configuration, --format, --help, --project, --quiet).

자세한 내용은 gdcloud CLI 참조 개요 페이지를 참고하세요.