1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Wed Mar 1 10:23:17 UTC 2023

This commit is contained in:
Automated 2023-03-01 10:23:17 +00:00
parent 7664984b79
commit bdaa0b3cfc
230 changed files with 8963 additions and 242 deletions

View file

@ -36,7 +36,7 @@ SYNOPSIS
[--resource-policies=[RESOURCE_POLICY,...]] [--no-restart-on-failure]
[--shielded-integrity-monitoring] [--shielded-secure-boot]
[--shielded-vtpm] [--source-instance-template=SOURCE_INSTANCE_TEMPLATE]
[--subnet=SUBNET] [--tags=TAG,[TAG,...]]
[--stack-type=STACK_TYPE] [--subnet=SUBNET] [--tags=TAG,[TAG,...]]
[--target-distribution-shape=SHAPE]
[--termination-time=TERMINATION_TIME]
[--threads-per-core=THREADS_PER_CORE]
@ -657,6 +657,15 @@ OPTIONAL FLAGS
The name of the instance template that the instance will be created
from. Users can override fields by specifying other flags.
--stack-type=STACK_TYPE
Specifies whether IPv6 is enabled on the default network interface. If
not specified, IPV4_ONLY will be used. STACK_TYPE must be one of:
IPV4_IPV6
The network interface can have both IPv4 and IPv6 addresses
IPV4_ONLY
The network interface will be assigned IPv4 addresses
--subnet=SUBNET
Specifies the subnet that the VM instances are a part of. If --network
is also specified, subnet must be a subnetwork of the network specified

View file

@ -94,20 +94,20 @@ EXAMPLES
example-instance-2 example-instance-3 --zone=us-central1-a
To create an instance called 'instance-1' from a source snapshot called
'instance-snapshot' in zone 'us-central2-a' and attached regional disk
'instance-snapshot' in zone 'us-central1-a' and attached regional disk
'disk-1', run:
$ gcloud beta compute instances create instance-1 \
--source-snapshot=https://compute.googleapis.com/compute/v1/\
projects/myproject/global/snapshots/instance-snapshot \
--zone=central2-a --disk=name=disk1,scope=regional
--zone=us-central1-a --disk=name=disk1,scope=regional
To create an instance called instance-1 as a Shielded VM instance with
Secure Boot, virtual trusted platform module (vTPM) enabled and integrity
monitoring, run:
$ gcloud beta compute instances create instance-1 \
--zone=central2-a --shielded-secure-boot --shielded-vtpm \
--zone=us-central1-a --shielded-secure-boot --shielded-vtpm \
--shielded-integrity-monitoring
To create a preemptible instance called 'instance-1', run:
@ -632,6 +632,13 @@ FLAGS
Specifies the Network Interface Controller (NIC) type for the
interface. NIC_TYPE must be one of: GVNIC, VIRTIO_NET.
queue-count
Specifies the networking queue count for this interface. Both Rx
and Tx queues will be set to this number. If it's not specified, a
default queue count will be assigned. For Virtio-net, each
interface will get min(floor(#vCPU / #vNIC), 32) queues. For gVNIC,
each interface will get min(floor(#vCPU / #vNIC / 2), 16) qeueus.
stack-type
Specifies whether IPv6 is enabled on the interface. STACK_TYPE must
be one of: IPV4_ONLY, IPV4_IPV6. The default value is IPV4_ONLY.