mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-21 06:27:15 +00:00
gcloud: Wed Aug 14 09:38:18 UTC 2024
This commit is contained in:
parent
7fe34c472b
commit
d35819d273
105 changed files with 5241 additions and 346 deletions
|
|
@ -11,8 +11,8 @@ SYNOPSIS
|
|||
[--description=DESCRIPTION] [--labels=[KEY=VALUE,...]]
|
||||
[--location=LOCATION]
|
||||
[--managed-ad=[computer=COMPUTER],[domain=DOMAIN]]
|
||||
[--performance=[iops-by-capacity],[max-read-iops=MAX-READ-IOPS],
|
||||
[max-read-iops-per-gb=MAX-READ-IOPS-PER-GB]]
|
||||
[--performance=[max-read-iops=MAX-READ-IOPS],
|
||||
[max-read-iops-per-tb=MAX-READ-IOPS-PER-TB]]
|
||||
[--protocol=PROTOCOL; default="NFS_V3"] [--region=REGION]
|
||||
[--source-instance=SOURCE_INSTANCE] [--tier=TIER; default="BASIC_HDD"]
|
||||
[--kms-key=KMS_KEY : --kms-keyring=KMS_KEYRING
|
||||
|
|
@ -244,57 +244,42 @@ OPTIONAL FLAGS
|
|||
The desired active directory computer name to be created by
|
||||
the filestore instance when connecting to the domain.
|
||||
|
||||
--performance=[iops-by-capacity],[max-read-iops=MAX-READ-IOPS],[max-read-iops-per-gb=MAX-READ-IOPS-PER-GB]
|
||||
--performance=[max-read-iops=MAX-READ-IOPS],[max-read-iops-per-tb=MAX-READ-IOPS-PER-TB]
|
||||
Performance configuration for the instance. This flag is used to
|
||||
configure the read IOPS provisioned for the instance. The instance's
|
||||
write IOPS and read/write throughputs will be derived from the
|
||||
configured read IOPS. For more information about the derived
|
||||
performance limits see
|
||||
performance limits and default performance see:
|
||||
https://cloud.google.com/filestore/docs/performance. Must be one of:
|
||||
|
||||
iops-by-capacity
|
||||
Default configuration. Automatically provisions the instance IOPS
|
||||
based on its capacity. If the user changes the instance capacity,
|
||||
IOPS will be automatically adjusted accordingly. The available IOPS
|
||||
for a given capacity can be found here: https://cloud.google.com/filestore/docs/performance.
|
||||
|
||||
max-read-iops
|
||||
The number of IOPS to provision for the instance.
|
||||
MAX-READ-IOPS must be in multiple of 1000 and in the supported IOPS
|
||||
range for the current capacity of the instance.
|
||||
For more details, see: https://cloud.google.com/filestore/docs/performance.
|
||||
|
||||
max-read-iops-per-gb
|
||||
max-read-iops-per-tb
|
||||
Is used for setting the max IOPS of the instance by
|
||||
specifying the IOPS per GB. When this parameter is used, the
|
||||
specifying the IOPS per TB. When this parameter is used, the
|
||||
max IOPS are derived from the instance capacity:
|
||||
The instance max IOPS will be calculated by multiplying the
|
||||
capacity of the instance (GB) by MAX-READ-IOPS-PER-GB, and rounding
|
||||
capacity of the instance (TB) by MAX-READ-IOPS-PER-TB, and rounding
|
||||
to the nearest 1000. The max IOPS will be changed
|
||||
dynamically based on the instance capacity.
|
||||
MAX-READ-IOPS-PER-GB must be in the supported range of the instance.
|
||||
MAX-READ-IOPS-PER-TB must be in the supported range of the instance.
|
||||
For more details, see: https://cloud.google.com/filestore/docs/performance.
|
||||
|
||||
Examples:
|
||||
|
||||
Configure an instance implicitly with iops_by_capacity performance:
|
||||
|
||||
$ gcloud beta filestore instances create example-cluster
|
||||
|
||||
Configure an instance explicitly with iops_by_capacity performance:
|
||||
|
||||
$ gcloud beta filestore instances create example-cluster \
|
||||
--performance=iops_by_capacity
|
||||
|
||||
Configure an instance with max-read-iops performance:
|
||||
|
||||
$ gcloud beta filestore instances create example-cluster \
|
||||
--performance=max-read-iops=1000
|
||||
--performance=max-read-iops=17000
|
||||
|
||||
Configure an instance with max-read-iops-per-gb performance:
|
||||
Configure an instance with max-read-iops-per-tb performance:
|
||||
|
||||
$ gcloud beta filestore instances create example-cluster \
|
||||
--performance=max-read-iops-per-gb=5
|
||||
--performance=max-read-iops-per-tb=17000
|
||||
|
||||
--protocol=PROTOCOL; default="NFS_V3"
|
||||
The service protocol for the Cloud Filestore instance. PROTOCOL must be
|
||||
|
|
|
|||
|
|
@ -3,11 +3,12 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta filestore instances update (INSTANCE : --zone=ZONE) [--async]
|
||||
[--description=DESCRIPTION] [--location=LOCATION]
|
||||
[--performance=[iops-by-capacity],[max-read-iops=MAX-READ-IOPS],
|
||||
[max-read-iops-per-gb=MAX-READ-IOPS-PER-GB]] [--region=REGION]
|
||||
[--description=DESCRIPTION] [--location=LOCATION] [--region=REGION]
|
||||
[--update-labels=[KEY=VALUE,...]]
|
||||
[--clear-labels | --remove-labels=[KEY,...]]
|
||||
[--clear-performance
|
||||
| --performance=[max-read-iops=MAX-READ-IOPS],
|
||||
[max-read-iops-per-tb=MAX-READ-IOPS-PER-TB]]
|
||||
[--disconnect-managed-ad
|
||||
| --managed-ad=[computer=COMPUTER],[domain=DOMAIN]]
|
||||
[[--file-share=[capacity=CAPACITY],
|
||||
|
|
@ -106,58 +107,6 @@ FLAGS
|
|||
--location=LOCATION
|
||||
Location of the Cloud Filestore instance/operation.
|
||||
|
||||
--performance=[iops-by-capacity],[max-read-iops=MAX-READ-IOPS],[max-read-iops-per-gb=MAX-READ-IOPS-PER-GB]
|
||||
Performance configuration for the instance. This flag is used to
|
||||
configure the read IOPS provisioned for the instance. The instance's
|
||||
write IOPS and read/write throughputs will be derived from the
|
||||
configured read IOPS. For more information about the derived
|
||||
performance limits see
|
||||
https://cloud.google.com/filestore/docs/performance. Must be one of:
|
||||
|
||||
iops-by-capacity
|
||||
Default configuration. Automatically provisions the instance IOPS
|
||||
based on its capacity. If the user changes the instance capacity,
|
||||
IOPS will be automatically adjusted accordingly. The available IOPS
|
||||
for a given capacity can be found here: https://cloud.google.com/filestore/docs/performance.
|
||||
|
||||
max-read-iops
|
||||
The number of IOPS to provision for the instance.
|
||||
MAX-READ-IOPS must be in multiple of 1000 and in the supported IOPS
|
||||
range for the current capacity of the instance.
|
||||
For more details, see: https://cloud.google.com/filestore/docs/performance.
|
||||
|
||||
max-read-iops-per-gb
|
||||
Is used for setting the max IOPS of the instance by
|
||||
specifying the IOPS per GB. When this parameter is used, the
|
||||
max IOPS are derived from the instance capacity:
|
||||
The instance max IOPS will be calculated by multiplying the
|
||||
capacity of the instance (GB) by MAX-READ-IOPS-PER-GB, and rounding
|
||||
to the nearest 1000. The max IOPS will be changed
|
||||
dynamically based on the instance capacity.
|
||||
MAX-READ-IOPS-PER-GB must be in the supported range of the instance.
|
||||
For more details, see: https://cloud.google.com/filestore/docs/performance.
|
||||
|
||||
Examples:
|
||||
|
||||
Configure an instance implicitly with iops_by_capacity performance:
|
||||
|
||||
$ gcloud beta filestore instances update example-cluster
|
||||
|
||||
Configure an instance explicitly with iops_by_capacity performance:
|
||||
|
||||
$ gcloud beta filestore instances update example-cluster \
|
||||
--performance=iops_by_capacity
|
||||
|
||||
Configure an instance with max-read-iops performance:
|
||||
|
||||
$ gcloud beta filestore instances update example-cluster \
|
||||
--performance=max-read-iops=1000
|
||||
|
||||
Configure an instance with max-read-iops-per-gb performance:
|
||||
|
||||
$ gcloud beta filestore instances update example-cluster \
|
||||
--performance=max-read-iops-per-gb=5
|
||||
|
||||
--region=REGION
|
||||
Region of the Cloud Filestore instance.
|
||||
|
||||
|
|
@ -190,6 +139,54 @@ FLAGS
|
|||
silently ignored. If --update-labels is also specified then
|
||||
--update-labels is applied first.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-performance
|
||||
Clear the performance configuration of the instance and set it to the
|
||||
default performance mode. In the default performance mode, the
|
||||
instance performance will be automatically adjusted based on its
|
||||
capacity (changes in the instance's capacity will automatically
|
||||
adjust the instance's performance accordingly). For more information
|
||||
about the default performance mode see:
|
||||
https://cloud.google.com/filestore/docs/performance.
|
||||
|
||||
--performance=[max-read-iops=MAX-READ-IOPS],[max-read-iops-per-tb=MAX-READ-IOPS-PER-TB]
|
||||
Performance configuration for the instance. This flag is used to
|
||||
configure the read IOPS provisioned for the instance. The instance's
|
||||
write IOPS and read/write throughputs will be derived from the
|
||||
configured read IOPS. For more information about the derived
|
||||
performance limits and default performance see:
|
||||
https://cloud.google.com/filestore/docs/performance. Must be one of:
|
||||
|
||||
max-read-iops
|
||||
The number of IOPS to provision for the instance.
|
||||
MAX-READ-IOPS must be in multiple of 1000 and in the supported IOPS
|
||||
range for the current capacity of the instance.
|
||||
For more details, see: https://cloud.google.com/filestore/docs/performance.
|
||||
|
||||
max-read-iops-per-tb
|
||||
Is used for setting the max IOPS of the instance by
|
||||
specifying the IOPS per TB. When this parameter is used, the
|
||||
max IOPS are derived from the instance capacity:
|
||||
The instance max IOPS will be calculated by multiplying the
|
||||
capacity of the instance (TB) by MAX-READ-IOPS-PER-TB, and rounding
|
||||
to the nearest 1000. The max IOPS will be changed
|
||||
dynamically based on the instance capacity.
|
||||
MAX-READ-IOPS-PER-TB must be in the supported range of the instance.
|
||||
For more details, see: https://cloud.google.com/filestore/docs/performance.
|
||||
|
||||
Examples:
|
||||
|
||||
Configure an instance with max-read-iops performance:
|
||||
|
||||
$ gcloud beta filestore instances update example-cluster \
|
||||
--performance=max-read-iops=17000
|
||||
|
||||
Configure an instance with max-read-iops-per-tb performance:
|
||||
|
||||
$ gcloud beta filestore instances update example-cluster \
|
||||
--performance=max-read-iops-per-tb=17000
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--disconnect-managed-ad
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue