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

gcloud: Wed Aug 21 09:39:51 UTC 2024

This commit is contained in:
Automated 2024-08-21 09:39:51 +00:00
parent d35819d273
commit ed5fe34b64
163 changed files with 3541 additions and 717 deletions

View file

@ -10,14 +10,23 @@ SYNOPSIS
[--service-account=SERVICE_ACCOUNT] [--tag=TAG] [--timeout=TIMEOUT]
[--no-traffic]
[--add-volume-mount=[volume=NAME,mount-path=MOUNT_PATH,...]
--args=[ARG,...] --clear-volume-mounts --command=[COMMAND,...]
--args=[ARG,...] --[no-]automatic-updates --clear-volume-mounts
--cpu=CPU --depends-on=[CONTAINER,...] --gpu=GPU --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,...]
--[no-]use-http2 --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,...]
--update-build-env-vars=[KEY=VALUE,...]
--build-service-account=BUILD_SERVICE_ACCOUNT
| --clear-build-service-account --build-worker-pool=BUILD_WORKER_POOL
| --clear-build-worker-pool --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]
--update-secrets=[KEY=VALUE,...] --command=[COMMAND,...]
| --function=FUNCTION --image=IMAGE | --source=SOURCE]
[--clear-labels | --remove-labels=[KEY,...] --labels=[KEY=VALUE,...]
| --update-labels=[KEY=VALUE,...]]
[--connectivity=CONNECTIVITY --clear-config-maps
@ -208,14 +217,14 @@ FLAGS
specified, no arguments are passed. To reset this field to its
default, pass an empty string.
--[no-]automatic-updates
Indicates whether automatic base image updates should be enabled
for an image built from source. Use --automatic-updates to enable
and --no-automatic-updates to disable.
--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
default, pass an empty string.
--cpu=CPU
Set a CPU limit in Kubernetes cpu units.
@ -252,6 +261,69 @@ FLAGS
Whether to use HTTP/2 for connections to the service. Use
--use-http2 to enable and --no-use-http2 to disable.
At most one of these can be specified:
--base-image=BASE_IMAGE
Specifies the base image to be used for automatic base image
updates. When deploying from source using the Google Cloud
buildpacks, this flag will also override the base image used for
the application image. See
https://cloud.google.com/run/docs/deploying-source-code for more
details.
--clear-base-image
Opts out of automatic base image updates.
At most one of these can be specified:
--build-env-vars-file=FILE_PATH
Path to a local YAML file with definitions for all build
environment variables. All existing build environment variables
will be removed before the new build environment variables are
added. Example YAML content:
KEY_1: "value1"
KEY_2: "value 2"
--clear-build-env-vars
Remove all build environment variables.
--set-build-env-vars=[KEY=VALUE,...]
List of key-value pairs to set as build environment variables.
All existing build environment variables will be removed first.
Only --update-build-env-vars and --remove-build-env-vars can be used
together. If both are specified, --remove-build-env-vars will be
applied first.
--remove-build-env-vars=[KEY,...]
List of build environment variables to be removed.
--update-build-env-vars=[KEY=VALUE,...]
List of key-value pairs to set as build environment variables.
At most one of these can be specified:
--build-service-account=BUILD_SERVICE_ACCOUNT
Specifies the service account to use to execute the build.
Applies only to source deploy builds using the Build API.
--clear-build-service-account
Clears the Cloud Build service account field.
At most one of these can be specified:
--build-worker-pool=BUILD_WORKER_POOL
Name of the Cloud Build Custom Worker Pool that should be used to
build the function. The format of this field is
projects/${PROJECT}/locations/${LOCATION}/workerPools/${WORKERPOOL}
where ${PROJECT} is the project id and ${LOCATION} is the
location where the worker pool is defined and ${WORKERPOOL} is
the short name of the worker pool.
--clear-build-worker-pool
Clears the Cloud Build Custom Worker Pool field.
At most one of these can be specified:
--clear-env-vars
@ -306,6 +378,17 @@ FLAGS
--update-secrets=[KEY=VALUE,...]
List of key-value pairs to set as secrets.
At most one of these can be specified:
--command=[COMMAND,...]
Entrypoint for the container image. If not specified, the
container image's default Entrypoint is run. To reset this field
to its default, pass an empty string.
--function=FUNCTION
Specifies that the deployed object is a function. If a value is
provided, that value is used as the entrypoint.
At most one of these can be specified:
--image=IMAGE