【发布时间】:2020-02-10 18:54:15
【问题描述】:
我已经为我的 AppEngine Flex 应用配置了自定义就绪和活跃度探测端点,如本页所述: https://cloud.google.com/appengine/docs/flexible/python/reference/app-yaml
但是,查看日志,很明显它忽略了我的设置,如下所示:
liveness_check:
path: "/liveness_check_custom"
check_interval_sec: 30
timeout_sec: 4
failure_threshold: 4
success_threshold: 2
readiness_check:
path: "/readiness_check_custom"
check_interval_sec: 5
timeout_sec: 4
failure_threshold: 2
success_threshold: 2
app_start_timeout_sec: 300
我在这些未出现在日志中的端点后面有一条自定义日志消息,并且还查看了 nginx.health_check 日志,我发现它仍在访问“liveness_check”和“readiness_check”端点,而不是我的自定义端点.
如果我自己直接点击端点,我会看到我的日志消息。这个谷歌文档是不正确的还是我遗漏了什么?有没有我缺少的设置?
【问题讨论】:
标签: google-app-engine app-engine-flexible