mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Fri Jun 2 10:25:45 UTC 2023
This commit is contained in:
parent
d0919dce4f
commit
daa9cea776
199 changed files with 7828 additions and 401 deletions
|
|
@ -12,26 +12,24 @@ DESCRIPTION
|
|||
|
||||
EXAMPLES
|
||||
To start the upgrade process for a 1st gen function foo and create a 2nd
|
||||
gen function copy, run:
|
||||
gen copy, run:
|
||||
|
||||
$ gcloud alpha functions upgrade foo
|
||||
|
||||
Once you are ready to redirect production traffic to the 2nd gen function
|
||||
copy, run:
|
||||
Once you are ready to redirect traffic to the 2nd gen copy, run:
|
||||
|
||||
$ gcloud alpha functions upgrade foo --redirect-traffic
|
||||
|
||||
If you find you need to do more local testing you can rollback production
|
||||
traffic to the 1st gen function copy:
|
||||
If you find you need to do more local testing you can rollback traffic to
|
||||
the 1st gen copy:
|
||||
|
||||
$ gcloud alpha functions upgrade foo --rollback-traffic
|
||||
|
||||
Once you're ready to finish upgrading and delete the 1st gen function copy,
|
||||
run:
|
||||
Once you're ready to finish upgrading and delete the 1st gen copy, run:
|
||||
|
||||
$ gcloud alpha functions upgrade foo --commit
|
||||
|
||||
You can abort the generation upgrade process at any time by running:
|
||||
You can abort the upgrade process at any time by running:
|
||||
|
||||
$ gcloud alpha functions upgrade foo --abort
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue