From da0a25e02693d11c954676d43d31079fc0546e35 Mon Sep 17 00:00:00 2001 From: dfitzmau Date: Wed, 25 Mar 2026 17:19:47 +0000 Subject: [PATCH] OCPBUGS-59598:Added leastconn example to nw-route-specific-annotations.adoc --- modules/nw-route-specific-annotations.adoc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/nw-route-specific-annotations.adoc b/modules/nw-route-specific-annotations.adoc index 0654b34bbfbe..fb3b8f6e17c1 100644 --- a/modules/nw-route-specific-annotations.adoc +++ b/modules/nw-route-specific-annotations.adoc @@ -82,6 +82,15 @@ metadata: haproxy.router.openshift.io/ip_allowlist: 192.168.1.10 ---- +.A route that sets the load-balancing algorithm to leastconn +[source,yaml] +---- +metadata: + annotations: + haproxy.router.openshift.io/balance: leastconn +---- +* The default load-balancing algorithm is `random`. + .A route that allows several IP addresses [source,yaml] ----