commit | c6c84f4e11bd7b3a28933aaf8473117b29284548 | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Thu Oct 17 17:19:53 2019 -0400 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Thu Oct 17 22:01:48 2019 +0000 |
tree | 120e67e5e84d860899a25953e1cd6125c51bd750 | |
parent | 55955d3c0752ab9fb9163f43a5106f3275ca4459 [diff] |
cmd/golangorg: migrate from legacy to split health checks For now, continue to use the existing /_ah/health HTTP endpoint for both the liveness and readiness checks. This is simple and close to the previous legacy health check behavior. In the future, we can consider making the readiness check more sophisticated. This change should make golangorg deployable again after the deprecation of legacy health checks.¹ ¹ https://cloud.google.com/appengine/docs/flexible/go/migrating-to-split-health-checks Change-Id: Ia68d3b260dd3a5b66f969318a04b8f97639701d6 Reviewed-on: https://go-review.googlesource.com/c/website/+/201743 Reviewed-by: Katie Hockman <katie@golang.org>
diff --git a/cmd/golangorg/app.prod.yaml b/cmd/golangorg/app.prod.yaml index 732d4b2..1ffe73e 100644 --- a/cmd/golangorg/app.prod.yaml +++ b/cmd/golangorg/app.prod.yaml
@@ -16,3 +16,8 @@ resources: cpu: 4 memory_gb: 7.50 + +liveness_check: + path: /_ah/health +readiness_check: + path: /_ah/health