Change or modify default timeout in HAProxy configurations in Openshift 4

Solution Verified - Updated -

Issue

  • How to change timeouts in OpenShift 4 Ingress Controller?
  • How can the following values can be changed on /var/lib/haproxy/conf/haproxy.config file in OCP 4? The below are the defaults:

    timeout connect 5s
    timeout client 30s
    timeout client-fin 1s
    timeout server 30s
    timeout server-fin 1s
    timeout http-request 10s
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content