Skip to content

Commit 2bc8169

Browse files
authored
Merge pull request #672 from openshift/revert-656-OCPBUGS-55506
OCPBUGS-61224: Revert Prevent startup failures due to name resolution"
2 parents 47274e2 + ac22e22 commit 2bc8169

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

images/router/haproxy/conf/haproxy-config.template

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -184,22 +184,6 @@ defaults
184184
option contstats
185185
{{- end }}
186186

187-
# Prevent failures at startup due to name resolution
188-
default-server init-addr last,none resolvers ingress_dns
189-
190-
# Define a resolver to be used when servers are specified by name and
191-
# therefore requires name resolution. Server name resolution typically
192-
# occurs only at startup. With this configuration, name resolution
193-
# will occur once every 10s. Successful name resolution results in the
194-
# server being marked UP while failure results in the server being
195-
# marked DOWN. Note this only occurs when servers are specified by
196-
# name.
197-
resolvers ingress_dns
198-
parse-resolv-conf
199-
resolve_retries 1
200-
timeout retry 5s
201-
timeout resolve 10s
202-
203187
{{ if (gt .StatsPort -1) }}
204188
listen stats
205189
{{ if eq "v4v6" $router_ip_v4_v6_mode }}

0 commit comments

Comments
 (0)