Hide Forgot
Description of problem: By default if we send a simple HTTP request to the router endpoint it returns "503 Service Unavailable" response. It would be nice if it returns 200 response as most frontend load balancer sends simple HTTP request to the endpoints and expects 200 response. Version-Release number of selected component (if applicable): 3.3 How reproducible: Always Steps to Reproduce: 1. curl $ROUTER_IP 2. 3. Actual results: 503 Service Unavailable Expected results: 200 OK Additional info:
I think it would be nicer if we added a configuration flag to switch 503/200 responses for the endpoint health check request.
I'm sorry, I don't understand the use-case here. What are you trying to determine the health of? I see two choices: 1) A route: in which case you don't want to return 200 if the route is down since if a real request comes in, would you want to return our error page? 2) The router: in which case you can access the router stats page (as the router health checks do in the pod definition) If you can give a good justification for the behavior we can certainly reconsider the request.
The use case is that external load balancers need to know the router endpoint 80/443 port health. Workarounds would be exposing 1936 port or deploy an app for health check.