You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

gcloud部署Cloud Functions报错:无法创建或更新Cloud Run服务

Google Cloud Functions Gen2部署失败:Resource readiness deadline exceeded

使用gcloud-cli部署新的或已有的Node.js 18版本Google Cloud Functions Gen2时,部署流程在Cloud Run服务步骤卡滞约10分钟后失败,删除函数后重新部署仍无法解决。昨日下午前部署一切正常,昨日夜间起部署及更新操作全部失败。

执行的部署命令

gcloud functions deploy [cloud_funtion_name]
--gen2 --region=us-central1
--runtime=nodejs18
--entry-point=[function_entry_point]
--trigger-http
--allow-unauthenticated
--max-instances=83

报错信息

Preparing function...done.                                                                                                                                     
X Deploying function...                                                                                                                                         
  ✓ [Build] Logs are available at [logs_link]                                                                                                                                                        
  ✓ [Service]                                                                                                                                                  
  . [ArtifactRegistry]                                                                                                                                          
  . [Healthcheck]                                                                                                                                              
  . [Triggercheck]                                                                                                                                             
Failed.                                                                                                                                                        
ERROR: (gcloud.functions.deploy) OperationError: code=13, 
message=Could not create or update Cloud Run service [cloud_funtion_name].
Reconciling latest revision template. Resource readiness deadline exceeded.

已尝试的排查操作

  • 删除现有函数后重新部署
  • 查阅Stack OverFlow和Google Issue Tracker相关帖子,但未找到有效解决方案

内容的提问来源于stack exchange,提问作者Milo40

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.23 23:39:58