Hello,
I am encountering an issue when trying to use Consul with the NGINX Ingress Controller on Kubernetes with hostNetwork: true
. The configuration works as expected when hostNetwork: false
is used, but when enabling hostNetwork: true
, there seems to be an issue with the communication between Consul and other services in the cluster.
When I enable hostNetwork I get this error and also suddenly I can’t ssh to workers untill reboot them.
2025-02-22T15:32:02.099Z [ERROR] consul-server-connection-manager: connection error: error=“failed to discover Consul server addresses: failed to resolve DNS name: consul-server.consul.svc: lookup consul-server.consul.svc on 10.96.0.10:53: read udp 192.168.91.1:35241->10.96.0.10:53: i/o timeout”