mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-20 04:58:26 +00:00
gcloud: Wed Feb 11 11:28:24 UTC 2026
This commit is contained in:
parent
582f364023
commit
aaff695a08
2667 changed files with 84754 additions and 68242 deletions
|
|
@ -159,27 +159,27 @@ FLAGS
|
|||
make sure that your configuration has enough vCPUs and memory to support
|
||||
the `machine_type` you have selected.
|
||||
|
||||
--accelerator-core-count=ACCELERATOR_CORE_COUNT
|
||||
Count of cores of this accelerator.
|
||||
--accelerator-core-count=ACCELERATOR_CORE_COUNT
|
||||
Count of cores of this accelerator.
|
||||
|
||||
--accelerator-type=ACCELERATOR_TYPE
|
||||
Type of this accelerator. ACCELERATOR_TYPE must be one of:
|
||||
NVIDIA_TESLA_A100, NVIDIA_TESLA_K80, NVIDIA_TESLA_P100,
|
||||
NVIDIA_TESLA_V100, NVIDIA_TESLA_P4, NVIDIA_TESLA_T4,
|
||||
NVIDIA_TESLA_T4_VWS, NVIDIA_TESLA_P100_VWS, NVIDIA_TESLA_P4_VWS,
|
||||
TPU_V2, TPU_V3, NVIDIA_L4, NVIDIA_H100_80GB, NVIDIA_H100_MEGA_80GB.
|
||||
--accelerator-type=ACCELERATOR_TYPE
|
||||
Type of this accelerator. ACCELERATOR_TYPE must be one of:
|
||||
NVIDIA_TESLA_A100, NVIDIA_TESLA_K80, NVIDIA_TESLA_P100,
|
||||
NVIDIA_TESLA_V100, NVIDIA_TESLA_P4, NVIDIA_TESLA_T4,
|
||||
NVIDIA_TESLA_T4_VWS, NVIDIA_TESLA_P100_VWS, NVIDIA_TESLA_P4_VWS,
|
||||
TPU_V2, TPU_V3, NVIDIA_L4, NVIDIA_H100_80GB, NVIDIA_H100_MEGA_80GB.
|
||||
|
||||
Boot disk configurations.
|
||||
|
||||
--boot-disk-size=BOOT_DISK_SIZE
|
||||
Size of boot disk in GB attached to this instance, up to a maximum of
|
||||
64000 GB (64 TB). The minimum recommended value is 100 GB. If not
|
||||
specified, this defaults to 100.
|
||||
--boot-disk-size=BOOT_DISK_SIZE
|
||||
Size of boot disk in GB attached to this instance, up to a maximum of
|
||||
64000 GB (64 TB). The minimum recommended value is 100 GB. If not
|
||||
specified, this defaults to 100.
|
||||
|
||||
--boot-disk-type=BOOT_DISK_TYPE
|
||||
Type of boot disk attached to this instance, defaults to standard
|
||||
persistent disk (PD_STANDARD). BOOT_DISK_TYPE must be one of:
|
||||
PD_STANDARD, PD_SSD, PD_BALANCED, PD_EXTREME.
|
||||
--boot-disk-type=BOOT_DISK_TYPE
|
||||
Type of boot disk attached to this instance, defaults to standard
|
||||
persistent disk (PD_STANDARD). BOOT_DISK_TYPE must be one of:
|
||||
PD_STANDARD, PD_SSD, PD_BALANCED, PD_EXTREME.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
|
|
@ -208,27 +208,26 @@ FLAGS
|
|||
▸ provide the argument --project on the command line;
|
||||
▸ set the property core/project.
|
||||
|
||||
--environment=ENVIRONMENT
|
||||
ID of the environment or fully qualified identifier for the
|
||||
environment.
|
||||
--environment=ENVIRONMENT
|
||||
ID of the environment or fully qualified identifier for the
|
||||
environment.
|
||||
|
||||
To set the environment attribute:
|
||||
▫ provide the argument --environment on the command line.
|
||||
To set the environment attribute:
|
||||
▸ provide the argument --environment on the command line.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--environment-location=ENVIRONMENT_LOCATION
|
||||
Google Cloud location of this environment
|
||||
https://cloud.google.com/compute/docs/regions-zones/#locations.
|
||||
--environment-location=ENVIRONMENT_LOCATION
|
||||
Google Cloud location of this environment
|
||||
https://cloud.google.com/compute/docs/regions-zones/#locations.
|
||||
|
||||
To set the environment-location attribute:
|
||||
▫ provide the argument --environment on the command line with a
|
||||
fully specified name;
|
||||
▫ provide the argument --environment-location on the command
|
||||
line;
|
||||
▫ provide the argument --location on the command line;
|
||||
▫ set the property notebooks/location.
|
||||
To set the environment-location attribute:
|
||||
▸ provide the argument --environment on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --environment-location on the command line;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property notebooks/location.
|
||||
|
||||
--vm-image-project=VM_IMAGE_PROJECT; default="deeplearning-platform-release"
|
||||
The ID of the Google Cloud project that this VM image belongs to.
|
||||
|
|
@ -245,145 +244,143 @@ FLAGS
|
|||
|
||||
GPU driver configurations.
|
||||
|
||||
--custom-gpu-driver-path=CUSTOM_GPU_DRIVER_PATH
|
||||
Specify a custom Cloud Storage path where the GPU driver is stored.
|
||||
If not specified, we'll automatically choose from official GPU
|
||||
drivers.
|
||||
--custom-gpu-driver-path=CUSTOM_GPU_DRIVER_PATH
|
||||
Specify a custom Cloud Storage path where the GPU driver is stored. If
|
||||
not specified, we'll automatically choose from official GPU drivers.
|
||||
|
||||
--install-gpu-driver
|
||||
Whether the end user authorizes Google Cloud to install a GPU driver
|
||||
on this instance. If this field is empty or set to false, the GPU
|
||||
driver won't be installed. Only applicable to instances with GPUs.
|
||||
--install-gpu-driver
|
||||
Whether the end user authorizes Google Cloud to install a GPU driver on
|
||||
this instance. If this field is empty or set to false, the GPU driver
|
||||
won't be installed. Only applicable to instances with GPUs.
|
||||
|
||||
Data disk configurations.
|
||||
|
||||
--data-disk-size=DATA_DISK_SIZE
|
||||
Size of data disk in GB attached to this instance, up to a maximum of
|
||||
64000 GB (64 TB). The minimum recommended value is 100 GB. If not
|
||||
specified, this defaults to 100.
|
||||
--data-disk-size=DATA_DISK_SIZE
|
||||
Size of data disk in GB attached to this instance, up to a maximum of
|
||||
64000 GB (64 TB). The minimum recommended value is 100 GB. If not
|
||||
specified, this defaults to 100.
|
||||
|
||||
--data-disk-type=DATA_DISK_TYPE
|
||||
Type of data disk attached to this instance, defaults to standard
|
||||
persistent disk (PD_STANDARD). DATA_DISK_TYPE must be one of:
|
||||
PD_STANDARD, PD_SSD, PD_BALANCED, PD_EXTREME.
|
||||
--data-disk-type=DATA_DISK_TYPE
|
||||
Type of data disk attached to this instance, defaults to standard
|
||||
persistent disk (PD_STANDARD). DATA_DISK_TYPE must be one of:
|
||||
PD_STANDARD, PD_SSD, PD_BALANCED, PD_EXTREME.
|
||||
|
||||
--no-remove-data-disk
|
||||
If true, the data disk will not be auto deleted when deleting the
|
||||
instance.
|
||||
--no-remove-data-disk
|
||||
If true, the data disk will not be auto deleted when deleting the
|
||||
instance.
|
||||
|
||||
Disk encryption configurations.
|
||||
|
||||
--disk-encryption=DISK_ENCRYPTION
|
||||
Disk encryption method used on the boot disk, defaults to GMEK.
|
||||
DISK_ENCRYPTION must be one of: GMEK, CMEK.
|
||||
--disk-encryption=DISK_ENCRYPTION
|
||||
Disk encryption method used on the boot disk, defaults to GMEK.
|
||||
DISK_ENCRYPTION must be one of: GMEK, CMEK.
|
||||
|
||||
Key resource - The Cloud KMS (Key Management Service) cryptokey that
|
||||
will be used to protect the instance. The 'Compute Engine Service Agent'
|
||||
service account must hold permission 'Cloud KMS CryptoKey
|
||||
Encrypter/Decrypter'. The arguments in this group can be used to specify
|
||||
the attributes of this resource.
|
||||
Key resource - The Cloud KMS (Key Management Service) cryptokey that will
|
||||
be used to protect the instance. The 'Compute Engine Service Agent'
|
||||
service account must hold permission 'Cloud KMS CryptoKey
|
||||
Encrypter/Decrypter'. 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.
|
||||
--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.
|
||||
To set the kms-key attribute:
|
||||
◆ provide the argument --kms-key on the command line.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--kms-keyring=KMS_KEYRING
|
||||
The KMS keyring of the key.
|
||||
--kms-keyring=KMS_KEYRING
|
||||
The KMS keyring 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.
|
||||
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 Google Cloud location for the key.
|
||||
--kms-location=KMS_LOCATION
|
||||
The Google 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.
|
||||
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 Google Cloud project for the key.
|
||||
--kms-project=KMS_PROJECT
|
||||
The Google Cloud project 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;
|
||||
▫ set the property core/project.
|
||||
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;
|
||||
◆ set the property core/project.
|
||||
|
||||
Network configs.
|
||||
|
||||
Network resource - The name of the VPC that this instance is in. Format:
|
||||
projects/{project_id}/global/networks/{network_id}. This represents a
|
||||
Cloud resource. (NOTE) Some attributes are not given arguments in this
|
||||
group but can be set in other ways.
|
||||
Network resource - The name of the VPC that this instance is in. Format:
|
||||
projects/{project_id}/global/networks/{network_id}. This represents a
|
||||
Cloud 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 --network on the command line with a fully
|
||||
To set the project attribute:
|
||||
◆ provide the argument --network on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
--network=NETWORK
|
||||
ID of the network or fully qualified identifier for the network.
|
||||
|
||||
To set the network attribute:
|
||||
◆ provide the argument --network on the command line.
|
||||
|
||||
--no-proxy-access
|
||||
If true, the notebook instance will not register with the proxy.
|
||||
|
||||
--no-public-ip
|
||||
If specified, no public IP will be assigned to this instance.
|
||||
|
||||
Subnetwork resource - The name of the subnet that this instance is in.
|
||||
Format:
|
||||
projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}. 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 --subnet on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
--subnet=SUBNET
|
||||
ID of the subnetwork or fully qualified identifier for the subnetwork.
|
||||
|
||||
To set the subnet attribute:
|
||||
◆ provide the argument --subnet on the command line.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--subnet-region=SUBNET_REGION
|
||||
Google Cloud region of this subnetwork
|
||||
https://cloud.google.com/compute/docs/regions-zones/#locations.
|
||||
|
||||
To set the subnet-region attribute:
|
||||
◆ provide the argument --subnet on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --project on the command line;
|
||||
▸ set the property core/project.
|
||||
|
||||
--network=NETWORK
|
||||
ID of the network or fully qualified identifier for the network.
|
||||
|
||||
To set the network attribute:
|
||||
▫ provide the argument --network on the command line.
|
||||
|
||||
--no-proxy-access
|
||||
If true, the notebook instance will not register with the proxy.
|
||||
|
||||
--no-public-ip
|
||||
If specified, no public IP will be assigned to this instance.
|
||||
|
||||
Subnetwork resource - The name of the subnet that this instance is in.
|
||||
Format:
|
||||
projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}. 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 --subnet on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --project on the command line;
|
||||
▸ set the property core/project.
|
||||
|
||||
--subnet=SUBNET
|
||||
ID of the subnetwork or fully qualified identifier for the
|
||||
subnetwork.
|
||||
|
||||
To set the subnet attribute:
|
||||
▫ provide the argument --subnet on the command line.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--subnet-region=SUBNET_REGION
|
||||
Google Cloud region of this subnetwork
|
||||
https://cloud.google.com/compute/docs/regions-zones/#locations.
|
||||
|
||||
To set the subnet-region attribute:
|
||||
▫ provide the argument --subnet on the command line with a fully
|
||||
specified name;
|
||||
▫ provide the argument --subnet-region on the command line.
|
||||
◆ provide the argument --subnet-region on the command line.
|
||||
|
||||
Specifies the reservation for the instance.
|
||||
|
||||
--reservation=RESERVATION
|
||||
The name of the reservation, required when
|
||||
--reservation-affinity=SPECIFIC_RESERVATION.
|
||||
--reservation=RESERVATION
|
||||
The name of the reservation, required when
|
||||
--reservation-affinity=SPECIFIC_RESERVATION.
|
||||
|
||||
--reservation-affinity=RESERVATION_AFFINITY; default="TYPE_UNSPECIFIED"
|
||||
The type of reservation for the instance. RESERVATION_AFFINITY must
|
||||
be one of: TYPE_UNSPECIFIED, NO_RESERVATION, ANY_RESERVATION,
|
||||
SPECIFIC_RESERVATION.
|
||||
--reservation-affinity=RESERVATION_AFFINITY; default="TYPE_UNSPECIFIED"
|
||||
The type of reservation for the instance. RESERVATION_AFFINITY must be
|
||||
one of: TYPE_UNSPECIFIED, NO_RESERVATION, ANY_RESERVATION,
|
||||
SPECIFIC_RESERVATION.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue