are updated health checks causing App Engine deployment to fail?

前端 未结 3 725
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-07 22:12

we updated our google app engine health checks from the legacy version to the new version using and now our deployments are failing. Nothing else on the project has changed. We

3条回答
  •  天涯浪人
    2021-02-07 22:57

    This is usually caused when the application is still reading from the legacy health check flags and/or deploying the app using gcloud app deploy without enabling the updated health checks first. You can check this by:

    1- Making sure the legacy health_check flag does not exist on your app.yaml.

    2- Run gcloud beta app describe to see whether splitHealthChecks flag is set to true under featureSettings.

    By default, HTTP requests from updated health checks are not forwarded to your application container. If you want to extend health checks to your application, then specify a path for liveness checks or readiness checks.

    You can then enable updated health checks by using gcloud beta app update --split-health-checks --project [your-project-id]. See this public issue tracker or this article about Updated Health Checks about for more details.

提交回复
热议问题