How to change allowed timeout for HTTP request-response for a route in OpenShift?

Viewed 3801

OpenShift 4.6

There is a basic set up in OpenShift: [Pod <- Service <- Route]. A service running in the pod have an HTTP endpoint responding for 90 seconds or longer. And in some cases it is normal, so I would like to allow this behavior.

Nevertheless, after a request to the route is sent (and a response did not arrive back) some time later (approx. 60-70 seconds) route responds with HTTP 504:

<html>
<body>
    <h1>504 Gateway Time-out</h1>
    The server didn't respond in time.
</body>
</html>

I am not sure at what point OpenShift decides to break the circuit and I can't find any configuration options that allow to change this timeout.

How to set custom timeout for a service and a pod to extend duration of request-response cycle?

1 Answers
Related