[英]Google Cloud Run - create service task is loadingforever
I'm trying to deploy a node.js application to Google cloud run.我正在尝试将 node.js 应用程序部署到 Google 云运行。
I pushed a docker to container registry - that seems to be successful.我将 docker 推送到容器注册表 - 这似乎是成功的。
But, when I'm trying to deploy it to google cloud run -> to make it public, and accessible via WAN it fails, for unknown reasons.但是,当我试图将它部署到 google cloud run -> 使其公开并通过 WAN 访问时,它失败了,原因不明。
While loading:加载时:
this step can take 10-15 minutes...此步骤可能需要 10-15 分钟...
when it fails:失败时:
Resource readiness deadline exceeded.超过了资源就绪期限。
The solution is provided in the GCP documentation:https://cloud.google.com/run/docs/troubleshooting#service-agent GCP文档中提供了解决方案:https://cloud.google.com/run/docs/troubleshooting#service-agent
They suggest that you Verify that the service agent has the Cloud Run Service Agent role.他们建议您验证服务代理是否具有 Cloud Run 服务代理角色。 If the service agent does not have the role, grant it.
如果服务代理没有角色,请授予它。
Additionally, you should check the logs for the run app, you might see clues to what the cause is.此外,您应该检查运行应用程序的日志,您可能会看到原因的线索。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.