mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-17 06:11:59 +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
|
|
@ -3,24 +3,21 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha run deploy [[SERVICE] --namespace=NAMESPACE]
|
||||
[--[no-]allow-unauthenticated] [--async] [--breakglass=JUSTIFICATION]
|
||||
[--clear-vpc-connector] [--concurrency=CONCURRENCY]
|
||||
[--container=CONTAINER] [--[no-]cpu-boost] [--[no-]cpu-throttling]
|
||||
[--[no-]default-url] [--delegate-builds] [--[no-]deploy-health-check]
|
||||
[--description=DESCRIPTION]
|
||||
[--[no-]allow-unauthenticated] [--[no-]allow-unencrypted-build]
|
||||
[--async] [--breakglass=JUSTIFICATION] [--clear-vpc-connector]
|
||||
[--concurrency=CONCURRENCY] [--container=CONTAINER] [--[no-]cpu-boost]
|
||||
[--[no-]cpu-throttling] [--[no-]default-url] [--delegate-builds]
|
||||
[--[no-]deploy-health-check] [--description=DESCRIPTION]
|
||||
[--execution-environment=EXECUTION_ENVIRONMENT]
|
||||
[--ingress=INGRESS; default="all"] [--[no-]invoker-iam-check]
|
||||
[--max-instances=MAX_INSTANCES] [--max-surge=MAX_SURGE]
|
||||
[--max-unavailable=MAX_UNAVAILABLE] [--mesh=MESH]
|
||||
[--max=MAX] [--max-instances=MAX_INSTANCES] [--max-surge=MAX_SURGE]
|
||||
[--max-unavailable=MAX_UNAVAILABLE] [--mesh=MESH] [--min=MIN]
|
||||
[--min-instances=MIN_INSTANCES] [--region=REGION]
|
||||
[--remove-containers=[CONTAINER,...]]
|
||||
[--revision-suffix=REVISION_SUFFIX] [--scaling=SCALING]
|
||||
[--service-account=SERVICE_ACCOUNT]
|
||||
[--service-max-instances=SERVICE_MAX_INSTANCES]
|
||||
[--service-min-instances=SERVICE_MIN_INSTANCES]
|
||||
[--[no-]session-affinity] [--tag=TAG] [--timeout=TIMEOUT]
|
||||
[--no-traffic] [--vpc-connector=VPC_CONNECTOR]
|
||||
[--vpc-egress=VPC_EGRESS]
|
||||
[--service-account=SERVICE_ACCOUNT] [--[no-]session-affinity]
|
||||
[--tag=TAG] [--timeout=TIMEOUT] [--no-traffic]
|
||||
[--vpc-connector=VPC_CONNECTOR] [--vpc-egress=VPC_EGRESS]
|
||||
[--add-cloudsql-instances=[CLOUDSQL-INSTANCES,...]
|
||||
| --clear-cloudsql-instances
|
||||
| --remove-cloudsql-instances=[CLOUDSQL-INSTANCES,...]
|
||||
|
|
@ -119,6 +116,12 @@ FLAGS
|
|||
may take a few moments to take effect. Use --allow-unauthenticated to
|
||||
enable and --no-allow-unauthenticated to disable.
|
||||
|
||||
--[no-]allow-unencrypted-build
|
||||
Whether to allow customer-managed encryption key (CMEK) deployments
|
||||
without encrypting the build process. This means that only the deployed
|
||||
container will be encrypted. Use --allow-unencrypted-build to enable
|
||||
and --no-allow-unencrypted-build to disable.
|
||||
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
|
@ -209,6 +212,12 @@ FLAGS
|
|||
Use --invoker-iam-check to enable and --no-invoker-iam-check to
|
||||
disable.
|
||||
|
||||
--max=MAX
|
||||
The maximum number of container instances for this Service to run. This
|
||||
instance limit will be divided among all Revisions receiving a
|
||||
percentage of traffic. Once service-max-instances is enabled for a
|
||||
service, it cannot be disabled.
|
||||
|
||||
--max-instances=MAX_INSTANCES
|
||||
The maximum number of container instances of the Service to run. Use
|
||||
'default' to unset the limit and use the platform default.
|
||||
|
|
@ -228,6 +237,11 @@ FLAGS
|
|||
resource name must be in the format of
|
||||
projects/PROJECT/locations/global/meshes/MESH_NAME.
|
||||
|
||||
--min=MIN
|
||||
The minimum number of container instances for this Service to run or
|
||||
'default' to remove any minimum. These instances will be divided among
|
||||
all Revisions receiving a percentage of traffic.
|
||||
|
||||
--min-instances=MIN_INSTANCES
|
||||
The minimum number of container instances for this Revision of the
|
||||
Service to run or 'default' to remove any minimum.
|
||||
|
|
@ -256,17 +270,6 @@ FLAGS
|
|||
revision of the service. The service account represents the identity of
|
||||
the running revision, and determines what permissions the revision has.
|
||||
|
||||
--service-max-instances=SERVICE_MAX_INSTANCES
|
||||
The maximum number of container instances for this Service to run. This
|
||||
instance limit will be divided among all Revisions receiving a
|
||||
percentage of traffic. Once service-max-instances is enabled for a
|
||||
service, it cannot be disabled.
|
||||
|
||||
--service-min-instances=SERVICE_MIN_INSTANCES
|
||||
The minimum number of container instances for this Service to run or
|
||||
'default' to remove any minimum. These instances will be divided among
|
||||
all Revisions receiving a percentage of traffic.
|
||||
|
||||
--[no-]session-affinity
|
||||
Whether to enable session affinity for connections to the service. Use
|
||||
--session-affinity to enable and --no-session-affinity to disable.
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ NAME
|
|||
gcloud alpha run jobs execute - execute a job
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run jobs execute [JOB] [--args=[ARG,...]] [--region=REGION]
|
||||
[--task-timeout=TASK_TIMEOUT] [--tasks=TASKS]
|
||||
[--update-env-vars=[KEY=VALUE,...]] [--async | --wait]
|
||||
gcloud alpha run jobs execute [JOB] [--container=CONTAINER]
|
||||
[--region=REGION] [--task-timeout=TASK_TIMEOUT] [--tasks=TASKS]
|
||||
[--args=[ARG,...] --update-env-vars=[KEY=VALUE,...]] [--async | --wait]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -36,10 +36,9 @@ POSITIONAL ARGUMENTS
|
|||
▸ specify the job name from an interactive prompt.
|
||||
|
||||
FLAGS
|
||||
--args=[ARG,...]
|
||||
Comma-separated arguments passed to the command run by the container
|
||||
image. If provided, an execution will be created with the input values.
|
||||
Otherwise, the existing arguments of the job are used.
|
||||
--container=CONTAINER
|
||||
Specifies a container by name. Flags following --container will apply
|
||||
to the specified container.
|
||||
|
||||
--region=REGION
|
||||
Region in which the resource can be found. Alternatively, set the
|
||||
|
|
@ -60,12 +59,23 @@ FLAGS
|
|||
considered done. If provided, an execution will be created with this
|
||||
value. Otherwise the existing task count of the job is used.
|
||||
|
||||
--update-env-vars=[KEY=VALUE,...]
|
||||
List of key-value pairs to set as environment variables overrides for
|
||||
an execution of a job. If provided, an execution will be created with
|
||||
the merge result of the input values and the existing environment
|
||||
variables. New value overrides existing value if they have the same
|
||||
key. If not provided, existing environment variables are used.
|
||||
Container Flags
|
||||
|
||||
If the --container is specified the following arguments may only be specified after a --container flag.
|
||||
|
||||
--args=[ARG,...]
|
||||
Comma-separated arguments passed to the command run by the
|
||||
container image. If provided, an execution will be created with the
|
||||
input values. Otherwise, the existing arguments of the job are
|
||||
used.
|
||||
|
||||
--update-env-vars=[KEY=VALUE,...]
|
||||
List of key-value pairs to set as environment variables overrides
|
||||
for an execution of a job. If provided, an execution will be
|
||||
created with the merge result of the input values and the existing
|
||||
environment variables. New value overrides existing value if they
|
||||
have the same key. If not provided, existing environment variables
|
||||
are used.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
|
|
|
|||
|
|
@ -12,17 +12,14 @@ SYNOPSIS
|
|||
[--[no-]deploy-health-check] [--description=DESCRIPTION]
|
||||
[--execution-environment=EXECUTION_ENVIRONMENT]
|
||||
[--ingress=INGRESS; default="all"] [--[no-]invoker-iam-check]
|
||||
[--max-instances=MAX_INSTANCES] [--max-surge=MAX_SURGE]
|
||||
[--max-unavailable=MAX_UNAVAILABLE] [--mesh=MESH]
|
||||
[--max=MAX] [--max-instances=MAX_INSTANCES] [--max-surge=MAX_SURGE]
|
||||
[--max-unavailable=MAX_UNAVAILABLE] [--mesh=MESH] [--min=MIN]
|
||||
[--min-instances=MIN_INSTANCES] [--region=REGION]
|
||||
[--remove-containers=[CONTAINER,...]]
|
||||
[--revision-suffix=REVISION_SUFFIX] [--scaling=SCALING]
|
||||
[--service-account=SERVICE_ACCOUNT]
|
||||
[--service-max-instances=SERVICE_MAX_INSTANCES]
|
||||
[--service-min-instances=SERVICE_MIN_INSTANCES]
|
||||
[--[no-]session-affinity] [--tag=TAG] [--timeout=TIMEOUT]
|
||||
[--no-traffic] [--vpc-connector=VPC_CONNECTOR]
|
||||
[--vpc-egress=VPC_EGRESS]
|
||||
[--service-account=SERVICE_ACCOUNT] [--[no-]session-affinity]
|
||||
[--tag=TAG] [--timeout=TIMEOUT] [--no-traffic]
|
||||
[--vpc-connector=VPC_CONNECTOR] [--vpc-egress=VPC_EGRESS]
|
||||
[--add-cloudsql-instances=[CLOUDSQL-INSTANCES,...]
|
||||
| --clear-cloudsql-instances
|
||||
| --remove-cloudsql-instances=[CLOUDSQL-INSTANCES,...]
|
||||
|
|
@ -182,6 +179,12 @@ FLAGS
|
|||
Use --invoker-iam-check to enable and --no-invoker-iam-check to
|
||||
disable.
|
||||
|
||||
--max=MAX
|
||||
The maximum number of container instances for this Service to run. This
|
||||
instance limit will be divided among all Revisions receiving a
|
||||
percentage of traffic. Once service-max-instances is enabled for a
|
||||
service, it cannot be disabled.
|
||||
|
||||
--max-instances=MAX_INSTANCES
|
||||
The maximum number of container instances of the Service to run. Use
|
||||
'default' to unset the limit and use the platform default.
|
||||
|
|
@ -201,6 +204,11 @@ FLAGS
|
|||
resource name must be in the format of
|
||||
projects/PROJECT/locations/global/meshes/MESH_NAME.
|
||||
|
||||
--min=MIN
|
||||
The minimum number of container instances for this Service to run or
|
||||
'default' to remove any minimum. These instances will be divided among
|
||||
all Revisions receiving a percentage of traffic.
|
||||
|
||||
--min-instances=MIN_INSTANCES
|
||||
The minimum number of container instances for this Revision of the
|
||||
Service to run or 'default' to remove any minimum.
|
||||
|
|
@ -229,17 +237,6 @@ FLAGS
|
|||
revision of the service. The service account represents the identity of
|
||||
the running revision, and determines what permissions the revision has.
|
||||
|
||||
--service-max-instances=SERVICE_MAX_INSTANCES
|
||||
The maximum number of container instances for this Service to run. This
|
||||
instance limit will be divided among all Revisions receiving a
|
||||
percentage of traffic. Once service-max-instances is enabled for a
|
||||
service, it cannot be disabled.
|
||||
|
||||
--service-min-instances=SERVICE_MIN_INSTANCES
|
||||
The minimum number of container instances for this Service to run or
|
||||
'default' to remove any minimum. These instances will be divided among
|
||||
all Revisions receiving a percentage of traffic.
|
||||
|
||||
--[no-]session-affinity
|
||||
Whether to enable session affinity for connections to the service. Use
|
||||
--session-affinity to enable and --no-session-affinity to disable.
|
||||
|
|
|
|||
|
|
@ -10,17 +10,14 @@ SYNOPSIS
|
|||
[--[no-]deploy-health-check] [--description=DESCRIPTION]
|
||||
[--execution-environment=EXECUTION_ENVIRONMENT]
|
||||
[--ingress=INGRESS; default="all"] [--[no-]invoker-iam-check]
|
||||
[--max-instances=MAX_INSTANCES] [--max-surge=MAX_SURGE]
|
||||
[--max-unavailable=MAX_UNAVAILABLE] [--mesh=MESH]
|
||||
[--max=MAX] [--max-instances=MAX_INSTANCES] [--max-surge=MAX_SURGE]
|
||||
[--max-unavailable=MAX_UNAVAILABLE] [--mesh=MESH] [--min=MIN]
|
||||
[--min-instances=MIN_INSTANCES] [--region=REGION]
|
||||
[--remove-containers=[CONTAINER,...]]
|
||||
[--revision-suffix=REVISION_SUFFIX] [--scaling=SCALING]
|
||||
[--service-account=SERVICE_ACCOUNT]
|
||||
[--service-max-instances=SERVICE_MAX_INSTANCES]
|
||||
[--service-min-instances=SERVICE_MIN_INSTANCES]
|
||||
[--[no-]session-affinity] [--tag=TAG] [--timeout=TIMEOUT]
|
||||
[--no-traffic] [--vpc-connector=VPC_CONNECTOR]
|
||||
[--vpc-egress=VPC_EGRESS]
|
||||
[--service-account=SERVICE_ACCOUNT] [--[no-]session-affinity]
|
||||
[--tag=TAG] [--timeout=TIMEOUT] [--no-traffic]
|
||||
[--vpc-connector=VPC_CONNECTOR] [--vpc-egress=VPC_EGRESS]
|
||||
[--add-cloudsql-instances=[CLOUDSQL-INSTANCES,...]
|
||||
| --clear-cloudsql-instances
|
||||
| --remove-cloudsql-instances=[CLOUDSQL-INSTANCES,...]
|
||||
|
|
@ -183,6 +180,12 @@ FLAGS
|
|||
Use --invoker-iam-check to enable and --no-invoker-iam-check to
|
||||
disable.
|
||||
|
||||
--max=MAX
|
||||
The maximum number of container instances for this Service to run. This
|
||||
instance limit will be divided among all Revisions receiving a
|
||||
percentage of traffic. Once service-max-instances is enabled for a
|
||||
service, it cannot be disabled.
|
||||
|
||||
--max-instances=MAX_INSTANCES
|
||||
The maximum number of container instances of the Service to run. Use
|
||||
'default' to unset the limit and use the platform default.
|
||||
|
|
@ -202,6 +205,11 @@ FLAGS
|
|||
resource name must be in the format of
|
||||
projects/PROJECT/locations/global/meshes/MESH_NAME.
|
||||
|
||||
--min=MIN
|
||||
The minimum number of container instances for this Service to run or
|
||||
'default' to remove any minimum. These instances will be divided among
|
||||
all Revisions receiving a percentage of traffic.
|
||||
|
||||
--min-instances=MIN_INSTANCES
|
||||
The minimum number of container instances for this Revision of the
|
||||
Service to run or 'default' to remove any minimum.
|
||||
|
|
@ -230,17 +238,6 @@ FLAGS
|
|||
revision of the service. The service account represents the identity of
|
||||
the running revision, and determines what permissions the revision has.
|
||||
|
||||
--service-max-instances=SERVICE_MAX_INSTANCES
|
||||
The maximum number of container instances for this Service to run. This
|
||||
instance limit will be divided among all Revisions receiving a
|
||||
percentage of traffic. Once service-max-instances is enabled for a
|
||||
service, it cannot be disabled.
|
||||
|
||||
--service-min-instances=SERVICE_MIN_INSTANCES
|
||||
The minimum number of container instances for this Service to run or
|
||||
'default' to remove any minimum. These instances will be divided among
|
||||
all Revisions receiving a percentage of traffic.
|
||||
|
||||
--[no-]session-affinity
|
||||
Whether to enable session affinity for connections to the service. Use
|
||||
--session-affinity to enable and --no-session-affinity to disable.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue