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
相关产品推荐
相关产品推荐

