gcloud run deploy在路由流量处卡住



所以今天我开始向gclod部署一些东西,我得到了通常的过程:

⠶ Building and deploying... Recreating retired Revision.                                                                                                                                                                                                                                                                
✓ Uploading sources...                                                                                                                                                                                                                                                                                                
✓ Building Container... Logs are available at [https://console.cloud.google.com/cloud-build/builds/4ee7f621-c548-4630-acbc-6bcd7daa3275?project=638685146920].                                                                                                                                                        
✓ Creating Revision...                                                                                                                                                                                                                                                                                                
⠶ Routing traffic...   

但不同寻常的是,路由流量花了很长时间,过了一段时间我得到了:

Deployment failed                                                                                                                                                                                                                                                                                                       
ERROR: gcloud crashed (WaitException): last_result=<googlecloudsdk.api_lib.run.condition.Conditions object at 0x7f179f99c2b0>, last_retrial=1326, time_passed_ms=1799923,time_to_wait=1000

解决方案:只需等待几个小时,它就会备份

删除所有代码,git reset --hard origin/master对我有效。

最初是inpm i并且仍然是相同的问题。也许有一个隐藏的gcloud数据需要删除。

最新更新