gdcloud database clusters create

NAME

gdcloud database clusters create - Create a DBCluster custom resource.

SYNOPSIS

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 0 with name "alloydbomni-db" in the project "db, run:

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

Note: AlloyDB Omni is in preview and may not be available in your installation.

REQUIRED FLAGS

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

OPTIONAL FLAGS

      --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
  -h, --help                        help for create
      --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")