1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/bigtable/clusters/create
2022-03-01 04:29:52 +00:00

138 lines
5 KiB
Text

NAME
gcloud bigtable clusters create - create a bigtable cluster
SYNOPSIS
gcloud bigtable clusters create (CLUSTER : --instance=INSTANCE) --zone=ZONE
[--async]
[--kms-key=KMS_KEY : --kms-keyring=KMS_KEYRING
--kms-location=KMS_LOCATION --kms-project=KMS_PROJECT]
[--num-nodes=NUM_NODES; default=3
| --autoscaling-cpu-target=AUTOSCALING_CPU_TARGET
--autoscaling-max-nodes=AUTOSCALING_MAX_NODES
--autoscaling-min-nodes=AUTOSCALING_MIN_NODES] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Create a bigtable cluster.
EXAMPLES
To add a cluster in zone us-east1-c to the instance with id my-instance-id,
run:
$ gcloud bigtable clusters create my-cluster-id \
--instance=my-instance-id --zone=us-east1-c
To add a cluster with 10 nodes, run:
$ gcloud bigtable clusters create my-cluster-id \
--instance=my-instance-id --zone=us-east1-c --num-nodes=10
POSITIONAL ARGUMENTS
Cluster resource - The cluster to describe. The arguments in this group
can be used to specify the attributes of this resource. (NOTE) Some
attributes are not given arguments in this group but can be set in other
ways. To set the project attribute:
◆ provide the argument cluster on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
CLUSTER
ID of the cluster or fully qualified identifier for the cluster. To
set the cluster attribute:
▸ provide the argument cluster on the command line.
This positional must be specified if any of the other arguments in
this group are specified.
--instance=INSTANCE
Cloud Bigtable instance for the cluster. To set the instance
attribute:
▸ provide the argument cluster on the command line with a fully
specified name;
▸ provide the argument --instance on the command line.
REQUIRED FLAGS
--zone=ZONE
ID of the zone where the cluster is located. Supported zones are listed
at https://cloud.google.com/bigtable/docs/locations.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
Key resource - The Cloud KMS (Key Management Service) cryptokey that will
be used to protect the cluster. The arguments in this group can be used to
specify the attributes of this resource.
--kms-key=KMS_KEY
ID of the key or fully qualified identifier for the key. To set the
kms-key attribute:
▸ provide the argument --kms-key on the command line.
This flag must be specified if any of the other arguments in this
group are specified.
--kms-keyring=KMS_KEYRING
The KMS keyring id of the key. To set the kms-keyring attribute:
▸ provide the argument --kms-key on the command line with a fully
specified name;
▸ provide the argument --kms-keyring on the command line.
--kms-location=KMS_LOCATION
The Cloud location for the key. To set the kms-location attribute:
▸ provide the argument --kms-key on the command line with a fully
specified name;
▸ provide the argument --kms-location on the command line.
--kms-project=KMS_PROJECT
The Cloud project id for the key. To set the kms-project attribute:
▸ provide the argument --kms-key on the command line with a fully
specified name;
▸ provide the argument --kms-project on the command line.
At most one of these can be specified:
Manual Scaling
--num-nodes=NUM_NODES; default=3
Number of nodes to serve.
Autoscaling
--autoscaling-cpu-target=AUTOSCALING_CPU_TARGET
The target CPU utilization percent for autoscaling. Accepted values
are from 10 to 80.
This flag must be specified if any of the other arguments in this
group are specified.
--autoscaling-max-nodes=AUTOSCALING_MAX_NODES
The maximum number of nodes for autoscaling.
This flag must be specified if any of the other arguments in this
group are specified.
--autoscaling-min-nodes=AUTOSCALING_MIN_NODES
The minimum number of nodes for autoscaling.
This flag must be specified if any of the other arguments in this
group are specified.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
These variants are also available:
$ gcloud alpha bigtable clusters create
$ gcloud beta bigtable clusters create