mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Thu Apr 20 10:38:56 UTC 2023
This commit is contained in:
parent
b155beb241
commit
b33a8a3e6e
169 changed files with 3258 additions and 576 deletions
|
|
@ -4,10 +4,11 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute disks start-async-replication DISK_NAME
|
||||
--secondary-disk=SECONDARY_DISK [--region=REGION | --zone=ZONE]
|
||||
--secondary-disk=SECONDARY_DISK (--region=REGION | --zone=ZONE)
|
||||
(--secondary-disk-region=SECONDARY_DISK_REGION
|
||||
| --secondary-disk-zone=SECONDARY_DISK_ZONE)
|
||||
[--secondary-disk-project=SECONDARY_DISK_PROJECT]
|
||||
[--secondary-disk-region=SECONDARY_DISK_REGION
|
||||
| --secondary-disk-zone=SECONDARY_DISK_ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute disks start-async-replication starts async
|
||||
|
|
@ -31,8 +32,7 @@ REQUIRED FLAGS
|
|||
Secondary disk for asynchronous replication. This flag is required when
|
||||
starting replication.
|
||||
|
||||
FLAGS
|
||||
At most one of these can be specified:
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--region=REGION
|
||||
Region of the disk to operate on. If not specified, you might be
|
||||
|
|
@ -75,11 +75,7 @@ FLAGS
|
|||
Alternatively, the zone can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_ZONE.
|
||||
|
||||
SECONDARY DISK FLAGS
|
||||
--secondary-disk-project=SECONDARY_DISK_PROJECT
|
||||
Project of the secondary disk for asynchronous replication.
|
||||
|
||||
At most one of these can be specified:
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--secondary-disk-region=SECONDARY_DISK_REGION
|
||||
Region of the secondary disk for asynchronous replication. Overrides
|
||||
|
|
@ -90,6 +86,10 @@ SECONDARY DISK FLAGS
|
|||
Zone of the secondary disk for asynchronous replication. Overrides
|
||||
the default compute/zone property value for this command invocation.
|
||||
|
||||
SECONDARY DISK FLAGS
|
||||
--secondary-disk-project=SECONDARY_DISK_PROJECT
|
||||
Project of the secondary disk for asynchronous replication.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
|
|
@ -6,8 +6,9 @@ SYNOPSIS
|
|||
gcloud alpha compute tpus queued-resources create
|
||||
(QUEUED_RESOURCE : --zone=ZONE) --accelerator-type=ACCELERATOR_TYPE
|
||||
--runtime-version=RUNTIME_VERSION
|
||||
(--node-id=NODE_ID | --node-count=NODE_COUNT --node-prefix=NODE_PREFIX)
|
||||
[--async] [--best-effort] [--guaranteed] [--internal-ips]
|
||||
(--node-id=NODE_ID
|
||||
| [--node-count=NODE_COUNT : --node-prefix=NODE_PREFIX]) [--async]
|
||||
[--best-effort] [--guaranteed] [--internal-ips]
|
||||
[--metadata=[METADATA,...]]
|
||||
[--metadata-from-file=[METADATA_FROM_FILE,...]]
|
||||
[--network=NETWORK; default="default"]
|
||||
|
|
@ -15,7 +16,8 @@ SYNOPSIS
|
|||
[--reservation-host-organization=RESERVATION_HOST_ORGANIZATION]
|
||||
[--reservation-host-project=RESERVATION_HOST_PROJECT] [--reserved]
|
||||
[--scopes=[SCOPES,...]] [--service-account=SERVICE_ACCOUNT]
|
||||
[--subnetwork=SUBNETWORK] [--valid-after-duration=VALID_AFTER_DURATION]
|
||||
[--subnetwork=SUBNETWORK] [--tags=[TAGS,...]]
|
||||
[--valid-after-duration=VALID_AFTER_DURATION]
|
||||
[--valid-after-time=VALID_AFTER_TIME]
|
||||
[--valid-until-duration=VALID_UNTIL_DURATION]
|
||||
[--valid-until-time=VALID_UNTIL_TIME] [GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -36,8 +38,8 @@ EXAMPLES
|
|||
|
||||
$ gcloud alpha compute tpus queued-resources create \
|
||||
my-queued-resource --accelerator-type=v4-8 \
|
||||
--runtime-version=v2-alpha-tpuv4 --node-prefix=my-node \
|
||||
--node-count=2 --zone=us-central2-b --project=my-project
|
||||
--runtime-version=v2-alpha-tpuv4 --node-count=2 \
|
||||
--zone=us-central2-b --project=my-project
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Queued resource resource - The Queued Resource you want to create. The
|
||||
|
|
@ -77,8 +79,8 @@ REQUIRED FLAGS
|
|||
--runtime-version=RUNTIME_VERSION
|
||||
Runtime version for the TPU, such as 2.3.
|
||||
|
||||
Specify TPU node(s) with either a single node id, or a node prefix and
|
||||
node count combination
|
||||
Specify TPU node(s) with either a single node id or a node count and an
|
||||
optional node prefix
|
||||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
|
|
@ -88,9 +90,9 @@ REQUIRED FLAGS
|
|||
Unqualified node identifier used to identify the node in the
|
||||
project once provisioned.
|
||||
|
||||
To request a resource with multiple nodes, use --node-prefix to
|
||||
specify the prefix for each node and --node-count to specify the
|
||||
number of nodes in place of --node-id.
|
||||
To request a resource with multiple nodes, in place of --node-id,
|
||||
use --node-count to specify the number of nodes and optionally use
|
||||
--node-prefix to specify the prefix for each node.
|
||||
|
||||
Multinode creation
|
||||
|
||||
|
|
@ -99,20 +101,16 @@ REQUIRED FLAGS
|
|||
generate the qualified name for nodes in the provision. Value must
|
||||
be greater than 1.
|
||||
|
||||
Must also specify --node-prefix.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--node-prefix=NODE_PREFIX
|
||||
Node prefix used to generate the qualified name of each node the
|
||||
multislice node provision.
|
||||
multislice node provision. If not supplied, the queued resource id
|
||||
will be used as the prefix.
|
||||
|
||||
Must also specify --node-count.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
|
|
@ -170,6 +168,12 @@ OPTIONAL FLAGS
|
|||
--subnetwork=SUBNETWORK
|
||||
Subnetwork that this TPU will be a part of.
|
||||
|
||||
--tags=[TAGS,...]
|
||||
Tags to apply to the TPU Node. Tags are used to identify valid sources
|
||||
or targets for network firewalls. See
|
||||
https://cloud.google.com/vpc/docs/add-remove-network-tags for more
|
||||
details.
|
||||
|
||||
--valid-after-duration=VALID_AFTER_DURATION
|
||||
A duration before which the TPU must not be provisioned, relative to
|
||||
the current time. See $ gcloud topic datetimes for information on
|
||||
|
|
|
|||
|
|
@ -22,5 +22,7 @@ NOTES
|
|||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud compute tpus topologies
|
||||
|
||||
|
|
|
|||
|
|
@ -75,5 +75,7 @@ NOTES
|
|||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud compute tpus topologies list
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ SYNOPSIS
|
|||
[--metadata-from-file=[METADATA_FROM_FILE,...]]
|
||||
[--network=NETWORK; default="default"] [--preemptible] [--range=RANGE]
|
||||
[--reserved] [--scopes=[SCOPES,...]]
|
||||
[--service-account=SERVICE_ACCOUNT] [--shielded-secure-boot]
|
||||
[--service-account=SERVICE_ACCOUNT] [--shielded-secure-boot] [--spot]
|
||||
[--subnetwork=SUBNETWORK] [--tags=[TAGS,...]]
|
||||
[--accelerator-type=ACCELERATOR_TYPE; default="v2-8"
|
||||
| --topology=TOPOLOGY --type=TYPE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -114,11 +114,11 @@ OPTIONAL FLAGS
|
|||
|
||||
--metadata=[METADATA,...]
|
||||
List of comma-separated metadata key-value pairs for the Cloud TPU VM
|
||||
node.
|
||||
node. Example: --metadata='key1=value1,key2=value2'
|
||||
|
||||
--metadata-from-file=[METADATA_FROM_FILE,...]
|
||||
Same as --metadata except the value for the entry will be read from a
|
||||
local file.
|
||||
local file. Example: --metadata-from-file='key1=value1.txt'
|
||||
|
||||
--network=NETWORK; default="default"
|
||||
Network that this TPU will be a part of.
|
||||
|
|
@ -161,6 +161,13 @@ OPTIONAL FLAGS
|
|||
Specifies that the TPU instances are created with secure boot enabled.
|
||||
This implicitly makes them Shielded VM instances.
|
||||
|
||||
--spot
|
||||
If specified, create this VM as a spot VM. Spot VMs make unused
|
||||
capacity available at highly discounted rates. Spot VMs may be
|
||||
preempted at any time if the capacity is needed, but unless preempted
|
||||
there is no limit on runtime duration. Spot VM TPUs cannot be
|
||||
restarted, and must be recreated again.
|
||||
|
||||
--subnetwork=SUBNETWORK
|
||||
Subnetwork that this TPU will be a part of.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue