mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-15 01:15:34 +00:00
gcloud: Wed Mar 23 08:27:29 UTC 2022
This commit is contained in:
parent
971306823a
commit
cd34e797ae
109 changed files with 1563 additions and 627 deletions
|
|
@ -16,10 +16,12 @@ SYNOPSIS
|
|||
[--[no-]enable-nested-virtualization] [--[no-]enable-uefi-networking]
|
||||
[--host-error-timeout-seconds=HOST_ERROR_TIMEOUT_SECONDS]
|
||||
[--instance-termination-action=INSTANCE_TERMINATION_ACTION]
|
||||
[--ipv6-network-tier=IPV6_NETWORK_TIER] [--labels=[KEY=VALUE,...]]
|
||||
[--ipv6-network-tier=IPV6_NETWORK_TIER]
|
||||
[--key-revocation-action-type=POLICY] [--labels=[KEY=VALUE,...]]
|
||||
[--local-nvdimm=[size=SIZE]]
|
||||
[--local-ssd=[device-name=DEVICE-NAME],
|
||||
[interface=INTERFACE],[size=SIZE]] [--machine-type=MACHINE_TYPE]
|
||||
[--max-run-duration=MAX_RUN_DURATION]
|
||||
[--mesh=[gke-cluster=GKE-CLUSTER],[workload=WORKLOAD]]
|
||||
[--metadata=KEY=VALUE,[KEY=VALUE,...]]
|
||||
[--metadata-from-file=KEY=LOCAL_FILE_PATH,[...]]
|
||||
|
|
@ -37,6 +39,7 @@ SYNOPSIS
|
|||
[--shielded-vtpm] [--source-instance=SOURCE_INSTANCE]
|
||||
[--source-instance-zone=SOURCE_INSTANCE_ZONE] [--stack-type=STACK_TYPE]
|
||||
[--subnet=SUBNET] [--tags=TAG,[TAG,...]]
|
||||
[--termination-time=TERMINATION_TIME]
|
||||
[--threads-per-core=THREADS_PER_CORE]
|
||||
[--visible-core-count=VISIBLE_CORE_COUNT]
|
||||
[--address=ADDRESS | --no-address]
|
||||
|
|
@ -379,6 +382,16 @@ FLAGS
|
|||
PREMIUM
|
||||
High quality, Google-grade network tier.
|
||||
|
||||
--key-revocation-action-type=POLICY
|
||||
Specifies the behavior of the instance when the KMS key of one of its
|
||||
attached disks is revoked. The default is none. POLICY must be one of:
|
||||
|
||||
none
|
||||
No operation is performed.
|
||||
stop
|
||||
The instance is stopped when the KMS key of one of its attached
|
||||
disks is revoked.
|
||||
|
||||
--labels=[KEY=VALUE,...]
|
||||
List of label KEY=VALUE pairs to add.
|
||||
|
||||
|
|
@ -425,6 +438,22 @@ FLAGS
|
|||
available machine types, run 'gcloud compute machine-types list'. If
|
||||
unspecified, the default type is n1-standard-1.
|
||||
|
||||
--max-run-duration=MAX_RUN_DURATION
|
||||
Limits how long this VM instance can run, specified as a duration
|
||||
relative to the VM instance's most-recent start time. Format the
|
||||
duration, MAX_RUN_DURATION, similar to "T1h2m3s" where you can specify
|
||||
the number of hours, minutes, and seconds using "h", "m", and "s"
|
||||
respectively. Alternatively, to specify a timestamp, use
|
||||
--termination-time instead.
|
||||
|
||||
If neither --max-run-duration nor --termination-time is specified
|
||||
(default), the VM instance runs until prompted by a user action or
|
||||
system event. If either is specified, the VM instance will be
|
||||
terminated using the action specified by --instance-termination-action.
|
||||
For --max-run-duration, the VM instance is terminated whenever the VM's
|
||||
current runtime reaches MAX_RUN_DURATION; the current runtime is reset
|
||||
to zero any time the VM instance is stopped and started again.
|
||||
|
||||
--mesh=[gke-cluster=GKE-CLUSTER],[workload=WORKLOAD]
|
||||
Controls whether the Anthos Service Mesh service proxy (Envoy) and
|
||||
agent are installed and configured on the VM. "cloud-platform" scope is
|
||||
|
|
@ -740,6 +769,18 @@ FLAGS
|
|||
|
||||
$ gcloud compute instances list --filter='tags:tag1'
|
||||
|
||||
--termination-time=TERMINATION_TIME
|
||||
Limits how long this VM instance can run, specified as a time. Format
|
||||
the time, TERMINATION_TIME, as a RFC 3339 timestamp. Alternatively, to
|
||||
specify a duration, use --max-run-duration instead.
|
||||
|
||||
If neither --termination-time nor --max-run-duration is specified
|
||||
(default) the VM instance runs until prompted by a user action or
|
||||
system event. If either is specified, the VM instance will be
|
||||
terminated using the action specified by --instance-termination-action.
|
||||
For --termination-time, the VM instance is terminated only during the
|
||||
specified time.
|
||||
|
||||
--threads-per-core=THREADS_PER_CORE
|
||||
The number of visible threads per physical core. To disable
|
||||
simultaneous multithreading (SMT) set this to 1. Valid values are: 1 or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue