mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
43 lines
1.3 KiB
Text
43 lines
1.3 KiB
Text
NAME
|
|
gcloud app versions migrate - migrate traffic from one version to another
|
|
for a set of services
|
|
|
|
SYNOPSIS
|
|
gcloud app versions migrate VERSION [--service=SERVICE, -s SERVICE]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Migrate traffic from one version to another for a set of services.
|
|
|
|
EXAMPLES
|
|
This only works for automatically scaled Standard versions. To migrate from
|
|
one version to another for all services where there is a version v2 and
|
|
shut down the previous version, run:
|
|
|
|
$ gcloud app versions migrate v2
|
|
|
|
To migrate from one version to another for a specific service, run:
|
|
|
|
$ gcloud app versions migrate v2 --service="s1"
|
|
|
|
POSITIONAL ARGUMENTS
|
|
VERSION
|
|
The version to migrate to.
|
|
|
|
FLAGS
|
|
--service=SERVICE, -s SERVICE
|
|
If specified, only migrate versions from the given service.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
NOTES
|
|
This variant is also available:
|
|
|
|
$ gcloud beta app versions migrate
|
|
|