mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 15:39:42 +00:00
54 lines
1.7 KiB
Text
54 lines
1.7 KiB
Text
NAME
|
|
gcloud beta app migrate-to-run - migrate a second-generation App Engine app
|
|
to Cloud Run
|
|
|
|
SYNOPSIS
|
|
gcloud beta app migrate-to-run [--appyaml=APPYAML] [--service=SERVICE]
|
|
[--version=VERSION] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) Migrates the second-generation App Engine app to Cloud Run.
|
|
|
|
EXAMPLES
|
|
To migrate an App Engine app to Cloud Run:
|
|
|
|
through app.yaml
|
|
|
|
gcloud app migrate-to-run --appyaml=path/to/app.yaml
|
|
|
|
OR
|
|
|
|
through service and version
|
|
|
|
gcloud app migrate-to-run --service=default --version=v1
|
|
|
|
FLAGS
|
|
--appyaml=APPYAML
|
|
Path to the app.yaml file for the second generation App Engine version
|
|
to be migrated. If not provided, the app.yaml present in the current
|
|
directory is used.
|
|
|
|
--service=SERVICE
|
|
Name of the service that is deployed in App Engine. If specified, the
|
|
configuration of the existing service will be used and app.yaml in the
|
|
current directory will be ignored.
|
|
|
|
--version=VERSION
|
|
Name of the version that is deployed in App Engine. If specified, the
|
|
configuration of the existing version will be used and app.yaml in the
|
|
current directory will be ignored.
|
|
|
|
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 command is currently in beta and might change without notice. This
|
|
variant is also available:
|
|
|
|
$ gcloud alpha app migrate-to-run
|
|
|