Add health handler#140
Conversation
|
Fixes #102 |
|
👍 |
|
I was setting this health-check for a pod in GKE as a readiness probe. By default when I hit the server with curl from localhost on the path given it returns with "Not authorized" response. When I passed authorization headers along with curl then it worked. The problem is these authorization headers are not ideal for GKE HC probes and Ingress is always marked as unhealthy. Do we have some URL paths that gives back a 200 OK response without any need to authorize? I believe for HC probes it should be as simple as possible to get know about the server health. |
|
@Mukesh-P did you turn on the You can set I'm also thinking of adding |
|
Related #407 |
Tested locally for the health endpoint