gpt4 book ai didi

google-cloud-platform - gcloud 崩溃(属性错误): 'NoneType' object has no attribute 'revisionTemplate'

转载 作者:行者123 更新时间:2023-12-03 13:57:39 25 4
gpt4 key购买 nike

我正在研究 Cloud Run,它似乎还处于测试阶段,防止重新部署,如下所示。如果我从 GCP 控制台中删除服务,然后将相同的 Docker 部署为新服务,它就会起作用。我找不到设置修订模板的方法。

我运行此命令以使用 gcloud 部署 Cloud Run 服务。

gcloud beta run deploy v2-cms --image gcr.io/my-project/v2-cms --quiet

然后,它不能这样说。
X Deploying...                                                                                                            
. Creating Revision...
. Routing traffic...
Deployment failed
ERROR: gcloud crashed (AttributeError): 'NoneType' object has no attribute 'revisionTemplate'

If you would like to report this issue, please run the following command:
gcloud feedback

To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics

最佳答案

要解决此问题,请更新 gcloud使用 gcloud components update 更新最新版本

关于google-cloud-platform - gcloud 崩溃(属性错误): 'NoneType' object has no attribute 'revisionTemplate' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57031471/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com