mirror of
https://github.com/kubernetes-sigs/kind.git
synced 2025-11-30 23:16:04 +07:00
loadbalancer/config: Parse resolv.conf for DNS
Control plane in HA setup doesn't currently work using Podman. This is because the haproxy DNS server is hard-coded to use 127.0.0.1:53, which is not available on Podman. To get the actual NS address, /etc/resolv.conf must be consulted. So this patch adds parse-resolv-conf to the haproxy resolvers block, which makes HA control plane work on Podman instantly. This works for Docker as well as resolv.conf is populated too.
This commit is contained in:
@@ -40,7 +40,7 @@ global
|
||||
maxconn 100000
|
||||
|
||||
resolvers docker
|
||||
nameserver dns 127.0.0.11:53
|
||||
parse-resolv-conf
|
||||
|
||||
defaults
|
||||
log global
|
||||
|
||||
Reference in New Issue
Block a user