mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 20:36:39 +00:00
gcloud: Wed Apr 27 09:13:09 UTC 2022
This commit is contained in:
parent
72862dfe28
commit
532fac5ddb
131 changed files with 1510 additions and 390 deletions
|
|
@ -500,36 +500,39 @@ FLAGS
|
|||
same backend VM while that VM remains healthy.
|
||||
GENERATED_COOKIE
|
||||
(Applicable if --load-balancing-scheme is INTERNAL_MANAGED,
|
||||
INTERNAL_SELF_MANAGED, or EXTERNAL) If the --load-balancing-scheme
|
||||
is EXTERNAL or EXTERNAL_MANAGED, routes requests to backend VMs or
|
||||
endpoints in a NEG, based on the contents of the GCLB cookie set by
|
||||
the load balancer. Only applicable when --protocol is HTTP, HTTPS,
|
||||
or HTTP2. If the --load-balancing-scheme is INTERNAL_MANAGED or
|
||||
INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED, or EXTERNAL) If the
|
||||
--load-balancing-scheme is EXTERNAL or EXTERNAL_MANAGED, routes
|
||||
requests to backend VMs or endpoints in a NEG, based on the
|
||||
contents of the GCLB cookie set by the load balancer. Only
|
||||
applicable when --protocol is HTTP, HTTPS, or HTTP2. If the
|
||||
--load-balancing-scheme is INTERNAL_MANAGED or
|
||||
INTERNAL_SELF_MANAGED, routes requests to backend VMs or endpoints
|
||||
in a NEG, based on the contents of the GCILB cookie set by the
|
||||
proxy. (If no cookie is present, the proxy chooses a backend VM or
|
||||
endpoint and sends a Set-Cookie response for future requests.) If
|
||||
the --load-balancing-scheme is INTERNAL_SELF_MANAGED, routes
|
||||
requests to backend VMs or endpoints in a NEG, based on the
|
||||
contents of a cookie set by Traffic Director.
|
||||
contents of a cookie set by Traffic Director. This session affinity
|
||||
is only valid if the load balancing locality policy is either
|
||||
RING_HASH or MAGLEV.
|
||||
HEADER_FIELD
|
||||
(Applicable if --load-balancing-scheme is INTERNAL_MANAGED or
|
||||
INTERNAL_SELF_MANAGED) Route requests to backend VMs or endpoints
|
||||
in a NEG based on the value of the HTTP header named in the
|
||||
--custom-request-header flag. This session affinity is only valid
|
||||
if the load balancing locality policy is either RING_HASH or MAGLEV
|
||||
and the backend service's consistent hash specifies the name of the
|
||||
HTTP header.
|
||||
(Applicable if --load-balancing-scheme is INTERNAL_MANAGED,
|
||||
EXTERNAL_MANAGED, or INTERNAL_SELF_MANAGED) Route requests to
|
||||
backend VMs or endpoints in a NEG based on the value of the HTTP
|
||||
header named in the --custom-request-header flag. This session
|
||||
affinity is only valid if the load balancing locality policy is
|
||||
either RING_HASH or MAGLEV and the backend service's consistent
|
||||
hash specifies the name of the HTTP header.
|
||||
HTTP_COOKIE
|
||||
(Applicable if --load-balancing-scheme is INTERNAL_MANAGED or
|
||||
INTERNAL_SELF_MANAGED) Route requests to backend VMs or endpoints
|
||||
in a NEG, based on an HTTP cookie named in the HTTP_COOKIE flag
|
||||
(with the optional --affinity-cookie-ttl flag). If the client has
|
||||
not provided the cookie, the proxy generates the cookie and returns
|
||||
it to the client in a Set-Cookie header. This session affinity is
|
||||
only valid if the load balancing locality policy is either
|
||||
RING_HASH or MAGLEV and the backend service's consistent hash
|
||||
specifies the HTTP cookie.
|
||||
(Applicable if --load-balancing-scheme is INTERNAL_MANAGED,
|
||||
EXTERNAL_MANAGED or INTERNAL_SELF_MANAGED) Route requests to
|
||||
backend VMs or endpoints in a NEG, based on an HTTP cookie named in
|
||||
the HTTP_COOKIE flag (with the optional --affinity-cookie-ttl
|
||||
flag). If the client has not provided the cookie, the proxy
|
||||
generates the cookie and returns it to the client in a Set-Cookie
|
||||
header. This session affinity is only valid if the load balancing
|
||||
locality policy is either RING_HASH or MAGLEV and the backend
|
||||
service's consistent hash specifies the HTTP cookie.
|
||||
NONE
|
||||
Session affinity is disabled.
|
||||
|
||||
|
|
|
|||
|
|
@ -312,36 +312,39 @@ FLAGS
|
|||
same backend VM while that VM remains healthy.
|
||||
GENERATED_COOKIE
|
||||
(Applicable if --load-balancing-scheme is INTERNAL_MANAGED,
|
||||
INTERNAL_SELF_MANAGED, or EXTERNAL) If the --load-balancing-scheme
|
||||
is EXTERNAL or EXTERNAL_MANAGED, routes requests to backend VMs or
|
||||
endpoints in a NEG, based on the contents of the GCLB cookie set by
|
||||
the load balancer. Only applicable when --protocol is HTTP, HTTPS,
|
||||
or HTTP2. If the --load-balancing-scheme is INTERNAL_MANAGED or
|
||||
INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED, or EXTERNAL) If the
|
||||
--load-balancing-scheme is EXTERNAL or EXTERNAL_MANAGED, routes
|
||||
requests to backend VMs or endpoints in a NEG, based on the
|
||||
contents of the GCLB cookie set by the load balancer. Only
|
||||
applicable when --protocol is HTTP, HTTPS, or HTTP2. If the
|
||||
--load-balancing-scheme is INTERNAL_MANAGED or
|
||||
INTERNAL_SELF_MANAGED, routes requests to backend VMs or endpoints
|
||||
in a NEG, based on the contents of the GCILB cookie set by the
|
||||
proxy. (If no cookie is present, the proxy chooses a backend VM or
|
||||
endpoint and sends a Set-Cookie response for future requests.) If
|
||||
the --load-balancing-scheme is INTERNAL_SELF_MANAGED, routes
|
||||
requests to backend VMs or endpoints in a NEG, based on the
|
||||
contents of a cookie set by Traffic Director.
|
||||
contents of a cookie set by Traffic Director. This session affinity
|
||||
is only valid if the load balancing locality policy is either
|
||||
RING_HASH or MAGLEV.
|
||||
HEADER_FIELD
|
||||
(Applicable if --load-balancing-scheme is INTERNAL_MANAGED or
|
||||
INTERNAL_SELF_MANAGED) Route requests to backend VMs or endpoints
|
||||
in a NEG based on the value of the HTTP header named in the
|
||||
--custom-request-header flag. This session affinity is only valid
|
||||
if the load balancing locality policy is either RING_HASH or MAGLEV
|
||||
and the backend service's consistent hash specifies the name of the
|
||||
HTTP header.
|
||||
(Applicable if --load-balancing-scheme is INTERNAL_MANAGED,
|
||||
EXTERNAL_MANAGED, or INTERNAL_SELF_MANAGED) Route requests to
|
||||
backend VMs or endpoints in a NEG based on the value of the HTTP
|
||||
header named in the --custom-request-header flag. This session
|
||||
affinity is only valid if the load balancing locality policy is
|
||||
either RING_HASH or MAGLEV and the backend service's consistent
|
||||
hash specifies the name of the HTTP header.
|
||||
HTTP_COOKIE
|
||||
(Applicable if --load-balancing-scheme is INTERNAL_MANAGED or
|
||||
INTERNAL_SELF_MANAGED) Route requests to backend VMs or endpoints
|
||||
in a NEG, based on an HTTP cookie named in the HTTP_COOKIE flag
|
||||
(with the optional --affinity-cookie-ttl flag). If the client has
|
||||
not provided the cookie, the proxy generates the cookie and returns
|
||||
it to the client in a Set-Cookie header. This session affinity is
|
||||
only valid if the load balancing locality policy is either
|
||||
RING_HASH or MAGLEV and the backend service's consistent hash
|
||||
specifies the HTTP cookie.
|
||||
(Applicable if --load-balancing-scheme is INTERNAL_MANAGED,
|
||||
EXTERNAL_MANAGED or INTERNAL_SELF_MANAGED) Route requests to
|
||||
backend VMs or endpoints in a NEG, based on an HTTP cookie named in
|
||||
the HTTP_COOKIE flag (with the optional --affinity-cookie-ttl
|
||||
flag). If the client has not provided the cookie, the proxy
|
||||
generates the cookie and returns it to the client in a Set-Cookie
|
||||
header. This session affinity is only valid if the load balancing
|
||||
locality policy is either RING_HASH or MAGLEV and the backend
|
||||
service's consistent hash specifies the HTTP cookie.
|
||||
NONE
|
||||
Session affinity is disabled.
|
||||
|
||||
|
|
|
|||
|
|
@ -796,7 +796,7 @@ FLAGS
|
|||
practice to use --image-family when the latest version of an image is
|
||||
needed.
|
||||
|
||||
By default, debian-10 is assumed for this flag.
|
||||
By default, debian-11 is assumed for this flag.
|
||||
|
||||
Sole Tenancy.
|
||||
|
||||
|
|
|
|||
|
|
@ -676,7 +676,7 @@ FLAGS
|
|||
practice to use --image-family when the latest version of an image is
|
||||
needed.
|
||||
|
||||
By default, debian-10 is assumed for this flag.
|
||||
By default, debian-11 is assumed for this flag.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
|
|
|
|||
|
|
@ -733,7 +733,7 @@ OPTIONAL FLAGS
|
|||
practice to use --image-family when the latest version of an image is
|
||||
needed.
|
||||
|
||||
By default, debian-10 is assumed for this flag.
|
||||
By default, debian-11 is assumed for this flag.
|
||||
|
||||
--source-snapshot=SOURCE_SNAPSHOT
|
||||
The name of the source disk snapshot that the instance boot disk will
|
||||
|
|
|
|||
|
|
@ -878,7 +878,7 @@ FLAGS
|
|||
practice to use --image-family when the latest version of an image is
|
||||
needed.
|
||||
|
||||
By default, debian-10 is assumed for this flag.
|
||||
By default, debian-11 is assumed for this flag.
|
||||
|
||||
--source-snapshot=SOURCE_SNAPSHOT
|
||||
The name of the source disk snapshot that the instance boot disk will
|
||||
|
|
|
|||
|
|
@ -767,7 +767,7 @@ FLAGS
|
|||
practice to use --image-family when the latest version of an image is
|
||||
needed.
|
||||
|
||||
By default, debian-10 is assumed for this flag.
|
||||
By default, debian-11 is assumed for this flag.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
|
|
|
|||
|
|
@ -54,6 +54,11 @@ FLAGS
|
|||
This is only supported for NEGs with endpoint type gce-vm-ip-port,
|
||||
non-gcp-private-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
|
||||
--psc-target-service points to the regional service endpoint of a
|
||||
Google API, do not specify --network or --subnet.
|
||||
|
||||
--network-endpoint-type=NETWORK_ENDPOINT_TYPE; default="gce-vm-ip-port"
|
||||
Determines the spec of endpoints attached to this group.
|
||||
|
||||
|
|
@ -116,8 +121,12 @@ FLAGS
|
|||
If not specified, network endpoints may belong to any subnetwork in the
|
||||
region where the network endpoint group is created.
|
||||
|
||||
This is only supported for NEGs with endpoint type gce-vm-ip-port or
|
||||
gce-vm-ip.
|
||||
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
|
||||
--psc-target-service points to the regional service endpoint of a
|
||||
Google API, do not specify --network or --subnet.
|
||||
|
||||
The serverless routing configurations are only valid when endpoint type of
|
||||
the network endpoint group is serverless.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue