Skip to content

OCPBUGS-31697: Added user-managed LB note to nw-configuring-route-tim… #93206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions modules/nw-configuring-route-timeouts.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,29 @@
[id="nw-configuring-route-timeouts_{context}"]
= Configuring route timeouts

You can configure the default timeouts for an existing route when you
have services in need of a low timeout, which is required for Service Level
Availability (SLA) purposes, or a high timeout, for cases with a slow
back end.
You can configure the default timeouts for an existing route when you have services in need of a low timeout, which is required for Service Level Availability (SLA) purposes, or a high timeout, for cases with a slow back end.

[IMPORTANT]
====
If you configured a user-managed external load balancer in front of your {product-title} cluster, ensure that the timeout value for the user-managed external load balancer is higher than the timeout value for the route service. This configuration prevents network congestion issues over the network that your cluster uses.
====

.Prerequisites

* You need a deployed Ingress Controller on a running cluster.

.Procedure

. Using the `oc annotate` command, add the timeout to the route:
+
[source,terminal]
----
$ oc annotate route <route_name> \
--overwrite haproxy.router.openshift.io/timeout=<timeout><time_unit> <1>
----
<1> Supported time units are microseconds (us), milliseconds (ms), seconds (s),
minutes (m), hours (h), or days (d).
<1> Supported time units are microseconds (us), milliseconds (ms), seconds (s), minutes (m), hours (h), or days (d).
+
The following example sets a timeout of two seconds on a route named `myroute`:
The following example sets a timeout of two seconds on a route named `myroute`:
+
[source,terminal]
----
Expand Down