← 返回命令列表

Linux command

gcloud-app 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Deploy application

gcloud app deploy

Browse deployed app

gcloud app browse

View logs

gcloud app logs tail

List services

gcloud app services list

Describe app

gcloud app describe

Split traffic between versions

gcloud app services set-traffic [service] --splits [v1=0.5,v2=0.5]

Delete a version

gcloud app versions delete [version-id]

说明

gcloud app provides comprehensive management capabilities for Google App Engine applications. App Engine is Google's original Platform-as-a-Service offering, allowing developers to deploy web applications without managing the underlying infrastructure. The command group handles the complete application lifecycle including deployment from app.yaml configuration files, version management, and traffic routing between multiple versions. This enables zero-downtime deployments and gradual rollouts through traffic splitting. Monitoring capabilities include streaming logs and viewing application status. The browse command provides quick access to your deployed application in a web browser. gcloud app integrates with other GCP services, making it easy to connect App Engine applications to databases, storage, and other cloud resources.

参数

deploy _YAML_
Deploy application.
browse
Open app in browser.
logs tail
Stream application logs.
services list
List deployed services.
versions list
List app versions.
describe
Show app information.
--help
Display help information.

FAQ

What is the gcloud-app command used for?

gcloud app provides comprehensive management capabilities for Google App Engine applications. App Engine is Google's original Platform-as-a-Service offering, allowing developers to deploy web applications without managing the underlying infrastructure. The command group handles the complete application lifecycle including deployment from app.yaml configuration files, version management, and traffic routing between multiple versions. This enables zero-downtime deployments and gradual rollouts through traffic splitting. Monitoring capabilities include streaming logs and viewing application status. The browse command provides quick access to your deployed application in a web browser. gcloud app integrates with other GCP services, making it easy to connect App Engine applications to databases, storage, and other cloud resources.

How do I run a basic gcloud-app example?

Run `gcloud app deploy` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does deploy _YAML_ do in gcloud-app?

Deploy application.