Uploaded image for project: 'Knative Serving'
  1. Knative Serving
  2. SRVKS-1287

Make haproxy.router.openshift.io/timeout configurable for auto-created routes

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 1.35.0, 1.34.1
    • 1.34.0, 1.35.0
    • None
    • None
    • False
    • None
    • False
    • Hide
      Previously, requests to Knative Service with a slow back end could be timing out due to a default OpenShift Route timeout being too short.
      This can now be configured through Operator Subscription for OpenShift Serverless:
      {code}
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
      ...
      spec:
        channel: stable
        config:
          env:
            - name: ROUTE_HAPROXY_TIMEOUT
              value: '900'
      {code}
      Show
      Previously, requests to Knative Service with a slow back end could be timing out due to a default OpenShift Route timeout being too short. This can now be configured through Operator Subscription for OpenShift Serverless: {code} apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: ... spec:   channel: stable   config:     env:       - name: ROUTE_HAPROXY_TIMEOUT         value: '900' {code}

      Right now the value is hardcoded to 600.

              skontopo@redhat.com Stavros Kontopoulos
              skontopo@redhat.com Stavros Kontopoulos
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: