You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried integrating policy-bot with kubernetes readyness probes but to no avail.
The health endpoint reports 200 OK very early in the startup process, and the service will keep responding with 504 for several seconds after the health endpoint already reporting 200 OK.
Would be great if the health endpoint would actually indicate whether the service is already up and running.
The text was updated successfully, but these errors were encountered:
Thanks for the report. The behavior you describe is surprising to me, because the last thing Policy Bot does at startup is enable the HTTP server, which serves the /api/health route and all other routes. If you can get a response from /api/health you should be able to get a valid response from any other endpoint.
Are there any more details you can share about the error you are seeing? Would it be possible to share the Kubernetes manifest you are using to deploy the app?
I've tried integrating policy-bot with kubernetes readyness probes but to no avail.
The health endpoint reports 200 OK very early in the startup process, and the service will keep responding with 504 for several seconds after the health endpoint already reporting 200 OK.
Would be great if the health endpoint would actually indicate whether the service is already up and running.
The text was updated successfully, but these errors were encountered: