mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Nov 13 10:04:10 UTC 2024
This commit is contained in:
parent
7da5872e5c
commit
a63704a3af
252 changed files with 4821 additions and 807 deletions
|
|
@ -31,9 +31,11 @@ SYNOPSIS
|
|||
[--add-volume-mount=[volume=NAME,mount-path=MOUNT_PATH,...]
|
||||
--args=[ARG,...] --clear-volume-mounts --command=[COMMAND,...]
|
||||
--cpu=CPU --depends-on=[CONTAINER,...] --gpu=GPU --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,...]
|
||||
--liveness-probe=[KEY=VALUE,...] --memory=MEMORY --port=PORT
|
||||
--remove-volume-mount=[MOUNT_PATH,...]
|
||||
--startup-probe=[KEY=VALUE,...] --[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,...]]
|
||||
|
|
@ -387,6 +389,30 @@ FLAGS
|
|||
Name of the container image to deploy (e.g.
|
||||
us-docker.pkg.dev/cloudrun/container/hello:latest).
|
||||
|
||||
--liveness-probe=[KEY=VALUE,...]
|
||||
Comma separated settings for liveness probe in the form KEY=VALUE.
|
||||
Each key stands for a field of the probe described in
|
||||
https://cloud.google.com/run/docs/reference/rest/v1/Container#Probe.
|
||||
Currently supported keys are:
|
||||
|
||||
+ initialDelaySeconds: integer
|
||||
+ timeoutSeconds: integer
|
||||
+ periodSeconds: integer
|
||||
+ failureThreshold: integer
|
||||
+ httpGet.port: integer
|
||||
+ httpGet.path: string
|
||||
+ grpc.port: integer
|
||||
+ grpc.service: string
|
||||
|
||||
For example, to set a probe with 10s timeout and HTTP probe
|
||||
requests sent to 8080 port of the container:
|
||||
|
||||
$ --liveness-probe=timeoutSeconds=10,httpGet.port=8080
|
||||
|
||||
To remove existing probe:
|
||||
|
||||
$ --liveness-probe=""
|
||||
|
||||
--memory=MEMORY
|
||||
Set a memory limit. Ex: 1024Mi, 4Gi.
|
||||
|
||||
|
|
@ -402,6 +428,31 @@ FLAGS
|
|||
Removes the volume mounted at the specified path from the current
|
||||
container.
|
||||
|
||||
--startup-probe=[KEY=VALUE,...]
|
||||
Comma separated settings for startup probe in the form KEY=VALUE.
|
||||
Each key stands for a field of the probe described in
|
||||
https://cloud.google.com/run/docs/reference/rest/v1/Container#Probe.
|
||||
Currently supported keys are:
|
||||
|
||||
+ initialDelaySeconds: integer
|
||||
+ timeoutSeconds: integer
|
||||
+ periodSeconds: integer
|
||||
+ failureThreshold: integer
|
||||
+ httpGet.port: integer
|
||||
+ httpGet.path: string
|
||||
+ grpc.port: integer
|
||||
+ grpc.service: string
|
||||
+ tcpSocket.port: integer
|
||||
|
||||
For example, to set a probe with 10s timeout and HTTP probe
|
||||
requests sent to 8080 port of the container:
|
||||
|
||||
$ --startup-probe=timeoutSeconds=10,httpGet.port=8080
|
||||
|
||||
To remove existing probe:
|
||||
|
||||
$ --startup-probe=""
|
||||
|
||||
--[no-]use-http2
|
||||
Whether to use HTTP/2 for connections to the service. Use
|
||||
--use-http2 to enable and --no-use-http2 to disable.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue