mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Wed Aug 28 09:41:07 UTC 2024
This commit is contained in:
parent
ed5fe34b64
commit
afbe8a5afb
256 changed files with 8602 additions and 358 deletions
|
|
@ -9,11 +9,12 @@ SYNOPSIS
|
|||
[--platform=PLATFORM; default="managed"]
|
||||
[--service-account=SERVICE_ACCOUNT] [--tag=TAG] [--timeout=TIMEOUT]
|
||||
[--no-traffic]
|
||||
[--args=[ARG,...] --command=[COMMAND,...] --cpu=CPU
|
||||
--depends-on=[CONTAINER,...]
|
||||
--memory=MEMORY --port=PORT --[no-]use-http2 --clear-env-vars
|
||||
| --env-vars-file=FILE_PATH | --set-env-vars=[KEY=VALUE,...]
|
||||
| --remove-env-vars=[KEY,...]
|
||||
[--add-volume-mount=[volume=NAME,mount-path=MOUNT_PATH,...]
|
||||
--args=[ARG,...] --clear-volume-mounts --command=[COMMAND,...]
|
||||
--cpu=CPU --depends-on=[CONTAINER,...] --memory=MEMORY --port=PORT
|
||||
--remove-volume-mount=[MOUNT_PATH,...]
|
||||
--[no-]use-http2 --clear-env-vars | --env-vars-file=FILE_PATH
|
||||
| --set-env-vars=[KEY=VALUE,...] | --remove-env-vars=[KEY,...]
|
||||
--update-env-vars=[KEY=VALUE,...] --clear-secrets
|
||||
| --set-secrets=[KEY=VALUE,...] | --remove-secrets=[KEY,...]
|
||||
--update-secrets=[KEY=VALUE,...] --image=IMAGE | --source=SOURCE]
|
||||
|
|
@ -37,7 +38,8 @@ SYNOPSIS
|
|||
| --clear-custom-audiences
|
||||
| --remove-custom-audiences=[CUSTOM-AUDIENCES,...]
|
||||
| --set-custom-audiences=[CUSTOM-AUDIENCES,...]
|
||||
--binary-authorization=POLICY
|
||||
--add-volume=[KEY=VALUE,...] --clear-volumes
|
||||
--remove-volume=[VOLUME,...] --binary-authorization=POLICY
|
||||
| --clear-binary-authorization --clear-encryption-key-shutdown-hours
|
||||
| --encryption-key-shutdown-hours=ENCRYPTION_KEY_SHUTDOWN_HOURS
|
||||
--clear-key | --key=KEY --clear-network
|
||||
|
|
@ -192,6 +194,12 @@ FLAGS
|
|||
The following flags apply to a single container. If the --container flag is specified these flags may only be
|
||||
specified after a --container flag. Otherwise they will apply to the primary ingress container.
|
||||
|
||||
--add-volume-mount=[volume=NAME,mount-path=MOUNT_PATH,...]
|
||||
Adds a mount to the current container. Must contain the keys
|
||||
volume=NAME and mount-path=/PATH where NAME is the name of a volume
|
||||
on this resource and PATH is the path within the container's
|
||||
filesystem to mount this volume.
|
||||
|
||||
--args=[ARG,...]
|
||||
Comma-separated arguments passed to the command run by the
|
||||
container image. If not specified and no '--command' is provided,
|
||||
|
|
@ -199,6 +207,9 @@ FLAGS
|
|||
specified, no arguments are passed. To reset this field to its
|
||||
default, pass an empty string.
|
||||
|
||||
--clear-volume-mounts
|
||||
Remove all existing mounts from the current container.
|
||||
|
||||
--command=[COMMAND,...]
|
||||
Entrypoint for the container image. If not specified, the container
|
||||
image's default Entrypoint is run. To reset this field to its
|
||||
|
|
@ -228,6 +239,10 @@ FLAGS
|
|||
to the previous container port, this will also update the probe
|
||||
port.
|
||||
|
||||
--remove-volume-mount=[MOUNT_PATH,...]
|
||||
Removes the volume mounted at the specified path from the current
|
||||
container.
|
||||
|
||||
--[no-]use-http2
|
||||
Whether to use HTTP/2 for connections to the service. Use
|
||||
--use-http2 to enable and --no-use-http2 to disable.
|
||||
|
|
@ -509,6 +524,35 @@ FLAGS
|
|||
Completely replace the current custom audiences with the given
|
||||
values.
|
||||
|
||||
--add-volume=[KEY=VALUE,...]
|
||||
Adds a volume to the Cloud Run resource. To add more than one volume,
|
||||
specify this flag multiple times. Volumes must have a name and type
|
||||
key. Only certain values are supported for type. Depending on the
|
||||
provided type, other keys will be required. The following types are
|
||||
supported with the specified additional keys:
|
||||
|
||||
cloud-storage: A volume representing a Cloud Storage bucket. This
|
||||
volume type is mounted using Cloud Storage FUSE. See
|
||||
https://cloud.google.com/storage/docs/gcs-fuse for the details and
|
||||
limitations of this filesystem. Additional keys:
|
||||
◆ bucket: (required) the name of the bucket to use as the source of
|
||||
this volume
|
||||
◆ readonly: (optional) A boolean. If true, this volume will be
|
||||
read-only from all mounts.
|
||||
|
||||
nfs: Represents a volume backed by an NFS server. Additional keys:
|
||||
◆ location: (required) The location of the NFS Server, in the form
|
||||
SERVER:/PATH
|
||||
◆ readonly: (optional) A boolean. If true, this volume will be
|
||||
read-only from all mounts.
|
||||
|
||||
--clear-volumes
|
||||
Remove all existing volumes from the Cloud Run resource, including
|
||||
volumes mounted as secrets
|
||||
|
||||
--remove-volume=[VOLUME,...]
|
||||
Removes volumes from the Cloud Run resource.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--binary-authorization=POLICY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue