gcloud_alpha_run_configurations_update (1)
NAME
- gcloud alpha run configurations update - update Cloud Run environment variables and other configuration settings
SYNOPSIS
-
gcloud alpha run configurations update [--async] [--concurrency=CONCURRENCY] [--memory=MEMORY] [--region=REGION] [--clear-env-vars | --set-env-vars=[KEY=VALUE,...] | --remove-env-vars=[KEY,...] --update-env-vars=[KEY=VALUE,...]] [--cluster=CLUSTER --cluster-location=CLUSTER_LOCATION] [--namespace=NAMESPACE --service=SERVICE] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update Cloud Run environment variables and other configuration
FLAGS
-
- --async
-
True to deploy asynchronously.
- --concurrency=CONCURRENCY
-
Set the number of concurrent requests allowed per instance. A concurrency of 0
indicates any number of concurrent requests are allowed. To unset this field,
provide the special value default.
- --memory=MEMORY
-
Set a memory limit. Ex: 1Gi, 512Mi.
- --region=REGION
-
The region in which to create the service.
-
At most one of these may be specified:
-
- --clear-env-vars
-
Remove all environment variables.
- --set-env-vars=[KEY=VALUE,...]
-
List of key-value pairs to set as environment variables. All existing
environment variables will be removed first.
-
Only --update-env-vars and --remove-env-vars can be used together. If
both are specified, --remove-env-vars will be applied first.
-
- --remove-env-vars=[KEY,...]
-
List of environment variables to be removed.
- --update-env-vars=[KEY=VALUE,...]
-
List of key-value pairs to set as environment variables.
-
-
-
Cluster resource - Specific to Cloud Run on Kubernetes Engine: The Kubernetes
Engine cluster to connect to. The arguments in this group can be used to specify
the attributes of this 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 [--cluster] on the command line with a fully specified
name; set the property [run/cluster] with a fully specified name; provide the
argument [--project] on the command line; set the property [core/project].
-
- --cluster=CLUSTER
-
ID of the cluster or fully qualified identifier for the cluster.
- --cluster-location=CLUSTER_LOCATION
-
Specific to Cloud Run on Kubernetes Engine: The location of the cluster.
-
-
Service resource - Service to update the configuration of. The arguments in
this group can be used to specify the attributes of this resource.
-
- --namespace=NAMESPACE
-
Specific to Cloud Run on Kubernetes Engine: The Kubernetes namespace for the
service
- --service=SERVICE
-
ID of the service or fully qualified identifier for the service.
-
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
To update one or more env vars:
-
$ gcloud alpha run configurations update \
--update-env-vars KEY1=VALUE1,KEY2=VALUE2
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support