使用gcloud app deploy部署GAE Flex时出错 [英] Error deploying GAE Flex with gcloud app deploy
问题描述
突然之间,使用gcloud app deploy
部署到GCP时会遇到问题.
All of a sudden having issues with deploying to GCP using gcloud app deploy
.
创建了一个全新的项目,并尝试从GCP上传示例hello-world应用,但仍然出现以下错误:
Created a brand new project and tried to upload a sample hello-world app from GCP, but still get the following error:
ERROR: (gcloud.app.deploy) Error Response: [3] Docker image us.gcr.io/gcp-test-8710371/appengine/default.20181106t173450:latest was either not found, or is not in Docker V2 format. Please visit https://cloud.google.com/container-registry/docs/ui
app.yaml:
runtime: nodejs
env: flex
manual_scaling:
instances: 1
resources:
cpu: 1
memory_gb: 0.5
disk_size_gb: 10
SDK:Google Cloud SDK 224.0.0
SDK: Google Cloud SDK 224.0.0
我已经检查了容器注册表,但在那里没有创建任何东西.
I've checked the container registry, and nothing is created there.
此外,尝试像此帖子中那样启用/禁用API,但没有结果. 一个示例Python应用程序可以正常上传,没有问题.
Also, tried enabling/disabling APIs like in this post, but with no result. An example Python app uploads fine with no problems.
推荐答案
存在一个影响Flex部署的问题.该问题已在UTC时间07/11大约00:40修复.正如@isharko指出的那样,Flex部署现在应该可以正常工作.
There was an issue affecting the Flex deployments. The issue was fixed on 07/11 at aproximately 00:40 UTC. As @isharko pointed out, Flex deployments should be working normally now.
GCP的问题跟踪器上还有一个公开问题.如果新的相关信息浮出水面,则很可能会在此处发布.
There's also a public issue on GCP's issue tracker about this. If new relevant information surfaces, it'll likely be posted there.
这篇关于使用gcloud app deploy部署GAE Flex时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!