mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Thu Jan 19 00:56:33 UTC 2023
This commit is contained in:
parent
348d9760ee
commit
1248f773ec
1462 changed files with 51835 additions and 5402 deletions
|
|
@ -3,10 +3,10 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta functions deploy (NAME : --region=REGION)
|
||||
[--allow-unauthenticated] [--docker-registry=DOCKER_REGISTRY]
|
||||
[--egress-settings=EGRESS_SETTINGS] [--entry-point=ENTRY_POINT]
|
||||
[--gen2] [--ignore-file=IGNORE_FILE]
|
||||
[--ingress-settings=INGRESS_SETTINGS] [--memory=MEMORY] [--retry]
|
||||
[--allow-unauthenticated] [--concurrency=CONCURRENCY]
|
||||
[--docker-registry=DOCKER_REGISTRY] [--egress-settings=EGRESS_SETTINGS]
|
||||
[--entry-point=ENTRY_POINT] [--gen2] [--ignore-file=IGNORE_FILE]
|
||||
[--ingress-settings=INGRESS_SETTINGS] [--retry]
|
||||
[--run-service-account=RUN_SERVICE_ACCOUNT] [--runtime=RUNTIME]
|
||||
[--security-level=SECURITY_LEVEL; default="secure-always"]
|
||||
[--serve-all-traffic-latest-revision]
|
||||
|
|
@ -38,6 +38,7 @@ SYNOPSIS
|
|||
/secret_path=SECRET_VALUE_REF,
|
||||
/mount_path:/secret_file_path=SECRET_VALUE_REF,...]]
|
||||
[--clear-vpc-connector | --vpc-connector=VPC_CONNECTOR]
|
||||
[--memory=MEMORY : --cpu=CPU]
|
||||
[--trigger-bucket=TRIGGER_BUCKET | --trigger-http
|
||||
| --trigger-topic=TRIGGER_TOPIC
|
||||
| --trigger-event=EVENT_TYPE --trigger-resource=RESOURCE
|
||||
|
|
@ -95,6 +96,11 @@ FLAGS
|
|||
If set, makes this a public function. This will allow all callers,
|
||||
without checking authentication.
|
||||
|
||||
--concurrency=CONCURRENCY
|
||||
Set the maximum number of concurrent requests allowed per container
|
||||
instance. Leave concurrency unspecified to receive the server default
|
||||
value. Only applicable when the --gen2 flag is provided.
|
||||
|
||||
--docker-registry=DOCKER_REGISTRY
|
||||
Docker Registry to use for storing the function's Docker images. The
|
||||
option container-registry is used by default.
|
||||
|
|
@ -132,22 +138,6 @@ FLAGS
|
|||
default all will be used. INGRESS_SETTINGS must be one of: all,
|
||||
internal-only, internal-and-gclb.
|
||||
|
||||
--memory=MEMORY
|
||||
Limit on the amount of memory the function can use.
|
||||
|
||||
Allowed values for v1 are: 128MB, 256MB, 512MB, 1024MB, 2048MB, 4096MB,
|
||||
and 8192MB.
|
||||
|
||||
Allowed values for GCF 2nd gen are in the format: <number><unit> with
|
||||
allowed units of "k", "M", "G", "Ki", "Mi", "Gi". Ending 'b' or 'B' is
|
||||
allowed.
|
||||
|
||||
Examples: 100000k, 128M, 10Mb, 1024Mi, 750K, 4Gi.
|
||||
|
||||
By default, a new function is limited to 256MB of memory. When
|
||||
deploying an update to an existing function, the function keeps its old
|
||||
memory limit unless you specify this flag.
|
||||
|
||||
--retry
|
||||
If specified, then the function will be retried in case of a failure.
|
||||
|
||||
|
|
@ -528,6 +518,38 @@ FLAGS
|
|||
${CONNECTOR}, where ${CONNECTOR} is the short name of the VPC Access
|
||||
connector.
|
||||
|
||||
--memory=MEMORY
|
||||
Limit on the amount of memory the function can use.
|
||||
|
||||
Allowed values for v1 are: 128MB, 256MB, 512MB, 1024MB, 2048MB, 4096MB,
|
||||
and 8192MB.
|
||||
|
||||
Allowed values for GCF 2nd gen are in the format: <number><unit> with
|
||||
allowed units of "k", "M", "G", "Ki", "Mi", "Gi". Ending 'b' or 'B' is
|
||||
allowed.
|
||||
|
||||
Examples: 100000k, 128M, 10Mb, 1024Mi, 750K, 4Gi.
|
||||
|
||||
By default, a new function is limited to 256MB of memory. When
|
||||
deploying an update to an existing function, the function keeps its old
|
||||
memory limit unless you specify this flag.
|
||||
|
||||
--cpu=CPU
|
||||
The number of available CPUs to set. Only valid when --gen2 and
|
||||
--memory=MEMORY are specified.
|
||||
|
||||
Examples: .5, 2, 2.0, 2000m.
|
||||
|
||||
By default, a new function's available CPUs is determined based on its
|
||||
memory value.
|
||||
|
||||
When deploying an update that includes memory changes to an existing
|
||||
function, the function's available CPUs will be recalculated based on
|
||||
the new memory unless this flag is specified. When deploying an update
|
||||
that does not include memory changes to an existing function, the
|
||||
function's "available CPUs" setting will keep its old value unless you
|
||||
use this flag to change the setting.
|
||||
|
||||
If you don't specify a trigger when deploying an update to an existing
|
||||
function it will keep its current trigger. You must specify
|
||||
--trigger-topic, --trigger-bucket, --trigger-http, --trigger-event-filters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue