mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Apr 8 12:08:12 UTC 2026
This commit is contained in:
parent
89a3bc9276
commit
5b03e16435
766 changed files with 29847 additions and 8950 deletions
|
|
@ -7,7 +7,8 @@ SYNOPSIS
|
|||
[--clear-vpc-connector] [--concurrency=CONCURRENCY]
|
||||
[--container=CONTAINER] [--[no-]cpu-boost] [--[no-]cpu-throttling]
|
||||
[--[no-]default-url] [--delegate-builds] [--[no-]deploy-health-check]
|
||||
[--description=DESCRIPTION]
|
||||
[--description=DESCRIPTION] [--domain=DOMAIN]
|
||||
[--endpoint-mode=ENDPOINT_MODE]
|
||||
[--execution-environment=EXECUTION_ENVIRONMENT] [--gpu-type=GPU_TYPE]
|
||||
[--[no-]gpu-zonal-redundancy] [--[no-]iap]
|
||||
[--ingress=INGRESS; default="all"] [--[no-]invoker-iam-check]
|
||||
|
|
@ -37,7 +38,7 @@ SYNOPSIS
|
|||
--readiness-probe=[KEY=VALUE,...]
|
||||
--remove-volume-mount=[MOUNT_PATH,...]
|
||||
--startup-probe=[KEY=VALUE,...]
|
||||
--[no-]use-http2 --base-image=BASE_IMAGE
|
||||
--[no-]use-http2 --workdir=WORKDIR --base-image=BASE_IMAGE
|
||||
| --clear-base-image --build-env-vars-file=FILE_PATH
|
||||
| --clear-build-env-vars | --set-build-env-vars=[KEY=VALUE,...]
|
||||
| --remove-build-env-vars=[KEY,...]
|
||||
|
|
@ -107,7 +108,8 @@ POSITIONAL ARGUMENTS
|
|||
◆ For Cloud Run on Kubernetes Engine, defaults to "default".
|
||||
Otherwise, defaults to project ID.;
|
||||
◆ provide the argument project on the command line;
|
||||
◆ set the property core/project.
|
||||
◆ set the property core/project;
|
||||
◆ specify the project ID from an interactive prompt.
|
||||
|
||||
FLAGS
|
||||
--[no-]allow-unauthenticated
|
||||
|
|
@ -172,6 +174,41 @@ FLAGS
|
|||
--description=DESCRIPTION
|
||||
Provides an optional, human-readable description of the service.
|
||||
|
||||
Domain resource - The domain name to map to this Cloud Run service. For
|
||||
example, example.com or subdomain.example.com. This represents a Cloud
|
||||
resource. (NOTE) Some attributes are not given arguments in this group but
|
||||
can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument --domain on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
--domain=DOMAIN
|
||||
ID of the domain or fully qualified identifier for the domain.
|
||||
|
||||
To set the domain attribute:
|
||||
◆ provide the argument --domain on the command line.
|
||||
|
||||
--endpoint-mode=ENDPOINT_MODE
|
||||
Specifies endpoint mode for a given command. Regional endpoints provide
|
||||
enhanced data residency and reliability by ensuring your request is
|
||||
handled entirely within the specified Google Cloud region. This differs
|
||||
from global endpoints, which may process parts of the request outside
|
||||
the target region. Overrides the default regional/endpoint_mode
|
||||
property value for this command invocation. ENDPOINT_MODE must be one
|
||||
of:
|
||||
|
||||
global
|
||||
(Default) Use global rather than regional endpoints.
|
||||
regional
|
||||
Only use regional endpoints. An error will be raised if a regional
|
||||
endpoint is not available for a given command.
|
||||
regional-preferred
|
||||
Use regional endpoints when available, otherwise use global
|
||||
endpoints. Recommended for most users.
|
||||
|
||||
--execution-environment=EXECUTION_ENVIRONMENT
|
||||
Selects the execution environment where the application will run.
|
||||
EXECUTION_ENVIRONMENT must be one of:
|
||||
|
|
@ -272,16 +309,20 @@ FLAGS
|
|||
scaling with the given integer as a fixed instance count.
|
||||
|
||||
--scaling-concurrency-target=SCALING_CONCURRENCY_TARGET
|
||||
A value between 0.1 and 0.95 that indicates the target concurrency
|
||||
utilization where a new instance should be started. Also accepts
|
||||
"default" to restore the default value or "disabled" to disable
|
||||
concurrency utilization scaling. If not set, the default value is 0.6.
|
||||
This represents the concurrency utilization target threshold for
|
||||
scaling up new instances. Set any value between 0.1 and 0.95 inclusive.
|
||||
To unset this field, pass the special value "default". To disable this
|
||||
scaling factor, pass the value "disabled". Please note that values are
|
||||
rounded at the second decimal place, and that CPU and concurrency
|
||||
scaling cannot both be disabled.
|
||||
|
||||
--scaling-cpu-target=SCALING_CPU_TARGET
|
||||
A value between 0.1 and 0.95 that indicates the target CPU utilization
|
||||
where a new instance should be started. Also accepts "default" to
|
||||
restore the default value or "disabled" to disable CPU utilization
|
||||
scaling. If not set, the default value is 0.6.
|
||||
This represents the CPU utilization target threshold for scaling up new
|
||||
instances. Set any value between 0.1 and 0.95 inclusive. To unset this
|
||||
field, pass the special value "default". To disable this scaling
|
||||
factor, pass the value "disabled". Please note that values are rounded
|
||||
at the second decimal place, and that CPU and concurrency scaling
|
||||
cannot both be disabled.
|
||||
|
||||
--service-account=SERVICE_ACCOUNT
|
||||
the email address of an IAM service account associated with the
|
||||
|
|
@ -423,7 +464,7 @@ FLAGS
|
|||
multi-container services, specify the mount-path parameter under the
|
||||
--add-volume-mount flag.
|
||||
◆ size: (optional) A quantity representing the amount of disk space
|
||||
allocated to this volume, such as "512Mi" or "3G".
|
||||
allocated to this volume, such as "10Gi" or "100G".
|
||||
|
||||
in-memory: An ephemeral volume that stores data in the instance's
|
||||
memory. With this type of volume, data is not shared between instances
|
||||
|
|
@ -581,6 +622,11 @@ FLAGS
|
|||
Whether to use HTTP/2 for connections to the service. Use --use-http2
|
||||
to enable and --no-use-http2 to disable.
|
||||
|
||||
--workdir=WORKDIR
|
||||
Working directory of the container process. If not specified, the
|
||||
container image's default working directory is used. To reset this
|
||||
field to its default, pass an empty string.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--base-image=BASE_IMAGE
|
||||
|
|
@ -863,6 +909,12 @@ GCLOUD WIDE FLAGS
|
|||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
REGIONAL ENDPOINTS
|
||||
This command supports regional endpoints. To use regional endpoints for
|
||||
this command, use the --endpoint-mode=regional-preferred flag. To use
|
||||
regional endpoints by default, run $ gcloud config set
|
||||
regional/endpoint_mode regional-preferred.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue