Cloud Run:用户提供的容器未通过配置的启动探针检查。

huangapple go评论86阅读模式
英文:

Cloud run The user-provided container failed the configured startup probe checks

问题

我正在按照云运行文档 https://cloud.google.com/run/docs/configuring/healthchecks 进行操作。
启动探测正在失败,而且日志中没有找到任何有用的信息。
修订版 'dev-xxxxxxxxxx' 尚未准备好,无法提供流量。
用户提供的容器未通过配置的启动探测检查。
有人能够使其正常工作吗?

尝试设置启动探测,但容器未能启动。

英文:

I am following cloud run documentation https://cloud.google.com/run/docs/configuring/healthchecks.
startup probe is failing and i dont see any useful information in logs. Revision 'dev-xxxxxxxxxx' is not ready and cannot serve traffic.
The user-provided container failed the configured startup probe checks. anyone able to make it work??

tried to setup startup probe , but container failed to start

答案1

得分: 0

请忽略这个,我的语法错误,我使用的是 --memory 2G --min-instances 1 --port 8082,而不是 --port=8082

英文:

Please ignore this my syntax is wrong, I was using --memory 2G --min-instances 1 --port 8082 instead of --port=8082

huangapple
  • 本文由 发表于 2023年2月6日 21:13:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/75361781.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定