1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-10 03:16:46 +00:00
gcloud-help/gcloud/bigtable/clusters/update

106 lines
3.5 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
NAME
gcloud bigtable clusters update - update a Bigtable cluster's number of
nodes
SYNOPSIS
gcloud bigtable clusters update (CLUSTER : --instance=INSTANCE)
(--autoscaling-cpu-target=AUTOSCALING_CPU_TARGET
--autoscaling-max-nodes=AUTOSCALING_MAX_NODES
--autoscaling-min-nodes=AUTOSCALING_MIN_NODES
2022-06-29 09:00:05 +00:00
--autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET
2022-03-01 04:29:52 +00:00
| [--num-nodes=NUM_NODES : --disable-autoscaling]) [--async]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Update a Bigtable cluster's number of nodes.
EXAMPLES
To update a cluster to 10 nodes, run:
$ gcloud bigtable clusters update my-cluster-id \
--instance=my-instance-id --num-nodes=10
POSITIONAL ARGUMENTS
Cluster resource - The cluster to update. The arguments in this group can
be used to specify the attributes of this resource. (NOTE) Some attributes
2023-05-04 10:43:54 +00:00
are not given arguments in this group but can be set in other ways.
To set the project attribute:
2022-03-01 04:29:52 +00:00
◆ 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
2023-05-04 10:43:54 +00:00
ID of the cluster or fully qualified identifier for the cluster.
To set the cluster attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument cluster on the command line.
2022-08-10 08:48:58 +00:00
This positional argument must be specified if any of the other
arguments in this group are specified.
2022-03-01 04:29:52 +00:00
--instance=INSTANCE
2025-04-02 10:41:45 +00:00
Bigtable instance for the cluster.
2023-05-04 10:43:54 +00:00
To set the instance attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument cluster on the command line with a fully
specified name;
▸ provide the argument --instance on the command line.
REQUIRED FLAGS
Exactly one of these must be specified:
Autoscaling
--autoscaling-cpu-target=AUTOSCALING_CPU_TARGET
2022-06-29 09:00:05 +00:00
The target CPU utilization percentage for autoscaling. Accepted
values are from 10 to 80.
2022-03-01 04:29:52 +00:00
--autoscaling-max-nodes=AUTOSCALING_MAX_NODES
The maximum number of nodes for autoscaling.
--autoscaling-min-nodes=AUTOSCALING_MIN_NODES
The minimum number of nodes for autoscaling.
2022-06-29 09:00:05 +00:00
--autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET
The target storage utilization gibibytes per node for autoscaling.
Accepted values are from 2560 to 5120 for SSD clusters and 8192 to
16384 for HDD clusters.
2022-03-01 04:29:52 +00:00
Manual Scaling
--num-nodes=NUM_NODES
Number of nodes to serve.
2022-08-10 08:48:58 +00:00
This flag argument must be specified if any of the other arguments
in this group are specified.
2022-03-01 04:29:52 +00:00
--disable-autoscaling
Set this flag and --num-nodes to disable autoscaling. If
autoscaling is currently not enabled, setting this flag does
nothing.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
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 update
$ gcloud beta bigtable clusters update