mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-15 09:25:44 +00:00
gcloud: Wed Dec 11 10:18:23 UTC 2024
This commit is contained in:
parent
ad2752c6c9
commit
ec6dc40f99
493 changed files with 17655 additions and 1753 deletions
|
|
@ -108,7 +108,9 @@ OPTIONAL FLAGS
|
|||
general-purpose-c4, general-purpose-c4a, general-purpose-e2,
|
||||
general-purpose-n2, general-purpose-n2d, general-purpose-n4,
|
||||
general-purpose-t2d, graphics-optimized, memory-optimized,
|
||||
memory-optimized-m3, storage-optimized-z3.
|
||||
memory-optimized-m3, memory-optimized-x4-16tb,
|
||||
memory-optimized-x4-24tb, memory-optimized-x4-32tb,
|
||||
storage-optimized-z3.
|
||||
|
||||
Manage the reservations to be created with the commitment.
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,10 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud compute instance-groups managed resize-requests create
|
||||
INSTANCE_GROUP_MANAGER --requested-run-duration=REQUESTED_RUN_DURATION
|
||||
--resize-by=RESIZE_BY --resize-request=RESIZE_REQUEST_NAME
|
||||
[--zone=ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
INSTANCE_GROUP_MANAGER --resize-by=RESIZE_BY
|
||||
--resize-request=RESIZE_REQUEST_NAME
|
||||
[--requested-run-duration=REQUESTED_RUN_DURATION] [--zone=ZONE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create a Compute Engine managed instance group resize request.
|
||||
|
|
@ -24,6 +25,13 @@ POSITIONAL ARGUMENTS
|
|||
Name of the managed instance group to operate on.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--resize-by=RESIZE_BY
|
||||
The number of VMs to resize managed instance group by.
|
||||
|
||||
--resize-request=RESIZE_REQUEST_NAME
|
||||
The name of the resize request to create.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--requested-run-duration=REQUESTED_RUN_DURATION
|
||||
The time you need the requested VMs to run before being automatically
|
||||
deleted. The value must be formatted as the number of days, hours,
|
||||
|
|
@ -32,13 +40,9 @@ REQUIRED FLAGS
|
|||
day, 2 hours, 3 minutes, and 4 seconds. The value must be between 10m
|
||||
(10 minutes) and 7d (7 days).
|
||||
|
||||
--resize-by=RESIZE_BY
|
||||
The number of VMs to resize managed instance group by.
|
||||
If you want the managed instance group to consume a reservation, then
|
||||
this flag is optional. Otherwise, it's required.
|
||||
|
||||
--resize-request=RESIZE_REQUEST_NAME
|
||||
The name of the resize request to create.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--zone=ZONE
|
||||
Zone of the managed instance group to operate on. If not specified and
|
||||
the compute/zone property isn't set, you might be prompted to select a
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ FLAGS
|
|||
|
||||
This is only supported for NEGs with endpoint type gce-vm-ip-port,
|
||||
non-gcp-private-ip-port, gce-vm-ip, private-service-connect,
|
||||
internet-ip-port, or internet-fqdn-port.
|
||||
internet-ip-port, internet-fqdn-port, or gce-vm-ip-portmap.
|
||||
|
||||
For Private Service Connect NEGs, you can optionally specify --network
|
||||
and --subnet if --psc-target-service points to a published service. If
|
||||
|
|
@ -108,9 +108,15 @@ FLAGS
|
|||
optional. If unspecified, the primary NIC address is used. A port
|
||||
must not be specified.
|
||||
|
||||
gce-vm-ip-portmap
|
||||
Endpoint IP address must be a primary IP of a VM's network
|
||||
interface in Compute Engine. The --default-port must be specified
|
||||
or every network endpoint in the network endpoint group must have a
|
||||
port specified.
|
||||
|
||||
NETWORK_ENDPOINT_TYPE must be one of: gce-vm-ip-port,
|
||||
internet-ip-port, internet-fqdn-port, non-gcp-private-ip-port,
|
||||
serverless, gce-vm-ip, private-service-connect.
|
||||
serverless, gce-vm-ip, private-service-connect, gce-vm-ip-portmap.
|
||||
|
||||
--producer-port=PRODUCER_PORT
|
||||
The producer port to use when a consumer PSC NEG connects to a
|
||||
|
|
@ -134,9 +140,9 @@ FLAGS
|
|||
region where the network endpoint group is created.
|
||||
|
||||
This is only supported for NEGs with endpoint type gce-vm-ip-port,
|
||||
gce-vm-ip, or private-service-connect. For Private Service Connect
|
||||
NEGs, you can optionally specify --network and --subnet if
|
||||
--psc-target-service points to a published service. If
|
||||
gce-vm-ip, private-service-connect, or gce-vm-ip-portmap. For Private
|
||||
Service Connect NEGs, you can optionally specify --network and --subnet
|
||||
if --psc-target-service points to a published service. If
|
||||
--psc-target-service points to the regional service endpoint of a
|
||||
Google API, do not specify --network or --subnet.
|
||||
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud compute network-endpoint-groups update NAME
|
||||
(--add-endpoint=[fqdn=FQDN],
|
||||
[instance=INSTANCE],[ip=IP],[ipv6=IPV6],[port=PORT]
|
||||
| --remove-endpoint=[fqdn=FQDN],
|
||||
[instance=INSTANCE],[ip=IP],[ipv6=IPV6],[port=PORT])
|
||||
(--add-endpoint=[client-destination-port=CLIENT-DESTINATION-PORT],
|
||||
[fqdn=FQDN],[instance=INSTANCE],[ip=IP],[ipv6=IPV6],[port=PORT]
|
||||
| --remove-endpoint=[client-destination-port=CLIENT-DESTINATION-PORT],
|
||||
[fqdn=FQDN],[instance=INSTANCE],[ip=IP],[ipv6=IPV6],[port=PORT])
|
||||
[--global | --region=REGION | --zone=ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -38,7 +38,7 @@ REQUIRED FLAGS
|
|||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--add-endpoint=[fqdn=FQDN],[instance=INSTANCE],[ip=IP],[ipv6=IPV6],[port=PORT]
|
||||
--add-endpoint=[client-destination-port=CLIENT-DESTINATION-PORT],[fqdn=FQDN],[instance=INSTANCE],[ip=IP],[ipv6=IPV6],[port=PORT]
|
||||
The network endpoint to add to the network endpoint group. Keys used
|
||||
depend on the endpoint type of the NEG.
|
||||
|
||||
|
|
@ -65,6 +65,9 @@ REQUIRED FLAGS
|
|||
|
||||
*port* - Required endpoint port unless NEG default port is set.
|
||||
|
||||
*client-destination-port* - Required endpoint client destination port only for the port
|
||||
mapping NEG.
|
||||
|
||||
internet-ip-port
|
||||
|
||||
*ip* - Required IPv4 address of the endpoint to attach. Must be
|
||||
|
|
@ -112,7 +115,7 @@ REQUIRED FLAGS
|
|||
IP address must be the VM's network interface address. If not
|
||||
specified, the primary NIC address is used.
|
||||
|
||||
--remove-endpoint=[fqdn=FQDN],[instance=INSTANCE],[ip=IP],[ipv6=IPV6],[port=PORT]
|
||||
--remove-endpoint=[client-destination-port=CLIENT-DESTINATION-PORT],[fqdn=FQDN],[instance=INSTANCE],[ip=IP],[ipv6=IPV6],[port=PORT]
|
||||
The network endpoint to detach from the network endpoint group. Keys
|
||||
used depend on the endpoint type of the NEG.
|
||||
|
||||
|
|
@ -130,6 +133,8 @@ REQUIRED FLAGS
|
|||
|
||||
*port* - Optional port of the network endpoint to detach.
|
||||
|
||||
*client-destination-port* - Optional client destination port, only for port mapping NEGs.
|
||||
|
||||
internet-ip-port
|
||||
|
||||
*ip* - Required IPv4 address of the network endpoint to detach.
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ SYNOPSIS
|
|||
[--description=DESCRIPTION] [--[no-]enable-ula-internal-ipv6]
|
||||
[--internal-ipv6-range=INTERNAL_IPV6_RANGE] [--mtu=MTU]
|
||||
[--network-firewall-policy-enforcement-order=NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER]
|
||||
[--range=RANGE] [--subnet-mode=MODE] [GCLOUD_WIDE_FLAG ...]
|
||||
[--range=RANGE] [--subnet-mode=MODE]
|
||||
[--bgp-best-path-selection-mode=BGP_BEST_PATH_SELECTION_MODE
|
||||
--[no-]bgp-bps-always-compare-med
|
||||
--bgp-bps-inter-region-cost=BGP_BPS_INTER_REGION_COST]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
gcloud compute networks create is used to create virtual networks. A
|
||||
|
|
@ -109,6 +113,47 @@ FLAGS
|
|||
[Deprecated] Create an old style network that has a range and
|
||||
cannot have subnets. This is not recommended for new networks.
|
||||
|
||||
BGP Best Path Selection flags
|
||||
|
||||
--bgp-best-path-selection-mode=BGP_BEST_PATH_SELECTION_MODE
|
||||
The BGP best path selection algorithm to be employed.
|
||||
BGP_BEST_PATH_SELECTION_MODE must be one of:
|
||||
|
||||
LEGACY
|
||||
Dynamic routes are ranked based on the multiple
|
||||
exit-discriminator (MED) BGP attribute. When global routing is
|
||||
enabled, the MED of the routes received from other regions is the
|
||||
original MED plus the region-to-region cost.
|
||||
STANDARD
|
||||
Dynamic routes are ranked based on AS Path, Origin, Neighbor ASN
|
||||
and MED BGP attributes. When global routing is enabled,
|
||||
region-to-region cost is used as a tiebreaker. This mode offers
|
||||
customizations to fine-tune BGP best path routing with additional
|
||||
flags like --bgp-bps-always-compare-med and
|
||||
--bgp-bps-inter-region-cost
|
||||
|
||||
--[no-]bgp-bps-always-compare-med
|
||||
Enables/disables the comparison of MED across routes with different
|
||||
Neighbor ASNs. This value can only be set if the
|
||||
--bgp-best-path-selection-mode is STANDARD. Use
|
||||
--bgp-bps-always-compare-med to enable and
|
||||
--no-bgp-bps-always-compare-med to disable.
|
||||
|
||||
--bgp-bps-inter-region-cost=BGP_BPS_INTER_REGION_COST
|
||||
Defines the preferred approach for handling inter-region cost in the
|
||||
selection process. This value can only be set if the
|
||||
--bgp-best-path-selection-mode is STANDARD. BGP_BPS_INTER_REGION_COST
|
||||
must be one of:
|
||||
|
||||
ADD_COST_TO_MED
|
||||
Adds inter-region cost to the MED before comparing the MED value.
|
||||
When multiple routes have the same value after the
|
||||
Add-cost-to-med comparison, the route selection continues and
|
||||
prefers the route with lowest cost.
|
||||
DEFAULT
|
||||
MED is compared as originally received from peers. When multiple
|
||||
routes have the same MED, cost is evaluated as the next step.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
|
|
@ -105,6 +105,8 @@ OPTIONAL FLAGS
|
|||
Reserved for Global Envoy-based Load Balancing.
|
||||
INTERNAL_HTTPS_LOAD_BALANCER
|
||||
Reserved for Internal HTTP(S) Load Balancing.
|
||||
PEER_MIGRATION
|
||||
Reserved for subnet migration between peered VPCs.
|
||||
PRIVATE
|
||||
Regular user created or automatically created subnet.
|
||||
PRIVATE_NAT
|
||||
|
|
|
|||
|
|
@ -6,6 +6,9 @@ SYNOPSIS
|
|||
[--[no-]enable-ula-internal-ipv6]
|
||||
[--internal-ipv6-range=INTERNAL_IPV6_RANGE] [--mtu=MTU]
|
||||
[--network-firewall-policy-enforcement-order=NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER]
|
||||
[--bgp-best-path-selection-mode=BGP_BEST_PATH_SELECTION_MODE
|
||||
--[no-]bgp-bps-always-compare-med
|
||||
--bgp-bps-inter-region-cost=BGP_BPS_INTER_REGION_COST]
|
||||
[--bgp-routing-mode=MODE | --switch-to-custom-subnet-mode]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -65,6 +68,47 @@ FLAGS
|
|||
BEFORE_CLASSIC_FIREWALL
|
||||
Network Firewall Policy is enforced before classic firewall.
|
||||
|
||||
BGP Best Path Selection flags
|
||||
|
||||
--bgp-best-path-selection-mode=BGP_BEST_PATH_SELECTION_MODE
|
||||
The BGP best path selection algorithm to be employed.
|
||||
BGP_BEST_PATH_SELECTION_MODE must be one of:
|
||||
|
||||
LEGACY
|
||||
Dynamic routes are ranked based on the multiple
|
||||
exit-discriminator (MED) BGP attribute. When global routing is
|
||||
enabled, the MED of the routes received from other regions is the
|
||||
original MED plus the region-to-region cost.
|
||||
STANDARD
|
||||
Dynamic routes are ranked based on AS Path, Origin, Neighbor ASN
|
||||
and MED BGP attributes. When global routing is enabled,
|
||||
region-to-region cost is used as a tiebreaker. This mode offers
|
||||
customizations to fine-tune BGP best path routing with additional
|
||||
flags like --bgp-bps-always-compare-med and
|
||||
--bgp-bps-inter-region-cost
|
||||
|
||||
--[no-]bgp-bps-always-compare-med
|
||||
Enables/disables the comparison of MED across routes with different
|
||||
Neighbor ASNs. This value can only be set if the
|
||||
--bgp-best-path-selection-mode is STANDARD. Use
|
||||
--bgp-bps-always-compare-med to enable and
|
||||
--no-bgp-bps-always-compare-med to disable.
|
||||
|
||||
--bgp-bps-inter-region-cost=BGP_BPS_INTER_REGION_COST
|
||||
Defines the preferred approach for handling inter-region cost in the
|
||||
selection process. This value can only be set if the
|
||||
--bgp-best-path-selection-mode is STANDARD. BGP_BPS_INTER_REGION_COST
|
||||
must be one of:
|
||||
|
||||
ADD_COST_TO_MED
|
||||
Adds inter-region cost to the MED before comparing the MED value.
|
||||
When multiple routes have the same value after the
|
||||
Add-cost-to-med comparison, the route selection continues and
|
||||
prefers the route with lowest cost.
|
||||
DEFAULT
|
||||
MED is compared as originally received from peers. When multiple
|
||||
routes have the same MED, cost is evaluated as the next step.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--bgp-routing-mode=MODE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue