1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Wed Jan 10 10:17:49 UTC 2024

This commit is contained in:
Automated 2024-01-10 10:17:49 +00:00
parent 08ad88258a
commit 5fec13c692
262 changed files with 3211 additions and 4501 deletions

View file

@ -10,11 +10,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,...] --image=IMAGE
--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,...] --image=IMAGE --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,...]]
@ -31,7 +32,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
@ -180,6 +182,12 @@ FLAGS
If the --container or --remove-containers flag is specified the following
arguments may only be specified after a --container flag.
--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,
@ -187,6 +195,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
@ -220,6 +231,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.
@ -389,6 +404,39 @@ 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 mulitple 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.
in-memory: An ephemeral volume that stores data in the instance's memory.
With this type of volume, data is not shared between instances and all
data will be lost when the instance it is on is terminated. Additional
keys:
◆ size-limit: (optional) A quantity representing the maximum amount of
memory allocated to this volume, such as "512Mi" or "3G". Data stored
in an in-memory volume consumes the memory allocation of the container
that wrote the data. If size-limit is not specified, the maximum size
will be half the total memory limit of all containers.
--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