mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
gcloud: Wed Dec 11 10:18:23 UTC 2024
This commit is contained in:
parent
ad2752c6c9
commit
ec6dc40f99
493 changed files with 17655 additions and 1753 deletions
|
|
@ -3,7 +3,7 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud bigtable app-profiles create (APP_PROFILE : --instance=INSTANCE)
|
||||
([--route-any : --restrict-to=[RESTRICT_TO,...]]
|
||||
([--route-any : --restrict-to=[RESTRICT_TO,...] --row-affinity]
|
||||
| [--route-to=ROUTE_TO : --transactional-writes])
|
||||
[--description=DESCRIPTION] [--force] [--priority=PRIORITY]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -35,6 +35,11 @@ EXAMPLES
|
|||
$ gcloud bigtable app-profiles create my-app-profile-id \
|
||||
--instance=my-instance-id --route-any --priority=PRIORITY_MEDIUM
|
||||
|
||||
To create an app profile with row-affinity routing enabled, run:
|
||||
|
||||
$ gcloud bigtable app-profiles create my-app-profile-id \
|
||||
--instance=my-instance-id --route-any --row-affinity
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
App profile resource - The app profile to create. The arguments in this
|
||||
group can be used to specify the attributes of this resource. (NOTE) Some
|
||||
|
|
@ -82,6 +87,9 @@ REQUIRED FLAGS
|
|||
Cluster IDs to route to using the Multi Cluster Routing Policy. If
|
||||
unset, all clusters in the instance are eligible.
|
||||
|
||||
--row-affinity
|
||||
Use row-affinity routing for this app profile.
|
||||
|
||||
Single Cluster Routing Policy
|
||||
|
||||
--route-to=ROUTE_TO
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud bigtable app-profiles update (APP_PROFILE : --instance=INSTANCE)
|
||||
[--async] [--description=DESCRIPTION] [--force] [--priority=PRIORITY]
|
||||
[[--route-any : --restrict-to=[RESTRICT_TO,...]]
|
||||
[[--route-any : --restrict-to=[RESTRICT_TO,...] --row-affinity]
|
||||
| [--route-to=ROUTE_TO : --transactional-writes]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -34,6 +34,11 @@ EXAMPLES
|
|||
$ gcloud bigtable app-profiles update my-app-profile-id \
|
||||
--instance=my-instance-id --priority=PRIORITY_LOW
|
||||
|
||||
To update an app profile to enable row-affinity routing, run:
|
||||
|
||||
$ gcloud bigtable app-profiles update my-app-profile-id \
|
||||
--instance=my-instance-id --route-any --row-affinity
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
App profile resource - The app profile to update. The arguments in this
|
||||
group can be used to specify the attributes of this resource. (NOTE) Some
|
||||
|
|
@ -102,6 +107,9 @@ FLAGS
|
|||
Cluster IDs to route to using the Multi Cluster Routing Policy. If
|
||||
unset, all clusters in the instance are eligible.
|
||||
|
||||
--row-affinity
|
||||
Use row-affinity routing for this app profile.
|
||||
|
||||
Single Cluster Routing Policy
|
||||
|
||||
--route-to=ROUTE_TO
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud bigtable clusters create (CLUSTER : --instance=INSTANCE) --zone=ZONE
|
||||
[--async]
|
||||
[--node-scaling-factor=NODE_SCALING_FACTOR;
|
||||
default="node-scaling-factor-1x"]
|
||||
[--kms-key=KMS_KEY : --kms-keyring=KMS_KEYRING
|
||||
--kms-location=KMS_LOCATION --kms-project=KMS_PROJECT]
|
||||
[--num-nodes=NUM_NODES; default=3
|
||||
|
|
@ -69,6 +71,10 @@ OPTIONAL FLAGS
|
|||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--node-scaling-factor=NODE_SCALING_FACTOR; default="node-scaling-factor-1x"
|
||||
Node scaling factor for the cluster. NODE_SCALING_FACTOR must be one
|
||||
of: node-scaling-factor-1x, node-scaling-factor-2x.
|
||||
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -4,11 +4,12 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud bigtable instances create INSTANCE --display-name=DISPLAY_NAME
|
||||
[--async] [--cluster=CLUSTER]
|
||||
[--cluster-config=[id=ID,zone=ZONE,nodes=NODES,kms-key=KMS_KEY,
|
||||
autoscaling-min-nodes=AUTOSCALING_MIN_NODES,
|
||||
[--cluster-config=[id=ID,zone=ZONE,[nodes=NODES],
|
||||
[node-scaling-factor=NODE_SCALING_FACTOR],[kms-key=KMS_KEY],
|
||||
[autoscaling-min-nodes=AUTOSCALING_MIN_NODES,
|
||||
autoscaling-max-nodes=AUTOSCALING_MAX_NODES,
|
||||
autoscaling-cpu-target=AUTOSCALING_CPU_TARGET,
|
||||
autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET,...]]
|
||||
autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET],...]]
|
||||
[--cluster-num-nodes=CLUSTER_NUM_NODES]
|
||||
[--cluster-storage-type=CLUSTER_STORAGE_TYPE; default="ssd"]
|
||||
[--cluster-zone=CLUSTER_ZONE]
|
||||
|
|
@ -72,7 +73,7 @@ OPTIONAL FLAGS
|
|||
|
||||
The --cluster argument is deprecated; use --cluster-config instead.
|
||||
|
||||
--cluster-config=[id=ID,zone=ZONE,nodes=NODES,kms-key=KMS_KEY,autoscaling-min-nodes=AUTOSCALING_MIN_NODES,autoscaling-max-nodes=AUTOSCALING_MAX_NODES,autoscaling-cpu-target=AUTOSCALING_CPU_TARGET,autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET,...]
|
||||
--cluster-config=[id=ID,zone=ZONE,[nodes=NODES],[node-scaling-factor=NODE_SCALING_FACTOR],[kms-key=KMS_KEY],[autoscaling-min-nodes=AUTOSCALING_MIN_NODES,autoscaling-max-nodes=AUTOSCALING_MAX_NODES,autoscaling-cpu-target=AUTOSCALING_CPU_TARGET,autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET],...]
|
||||
Repeatable. Specify cluster config as a key-value dictionary.
|
||||
|
||||
This is the recommended argument for specifying cluster configurations.
|
||||
|
|
@ -85,6 +86,8 @@ OPTIONAL FLAGS
|
|||
|
||||
*nodes*: The number of nodes in the cluster. Default=1.
|
||||
|
||||
*node-scaling-factor*: The node scaling factor for the cluster. Default=node-scaling-factor-1x. NODE_SCALING_FACTOR must be one of: node-scaling-factor-1x, node-scaling-factor-2x.
|
||||
|
||||
*kms-key*: The Cloud KMS (Key Management Service) cryptokey that will be used to protect the cluster.
|
||||
|
||||
*autoscaling-min-nodes*: The minimum number of nodes for autoscaling.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue