Skip to content
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

Issue Using Consul with NGINX Ingress Controller and hostNetwork: true on Kubernetes #4481

Open
arezvani opened this issue Feb 22, 2025 · 0 comments
Labels
type/question Question about product, ideally should be pointed to discuss.hashicorp.com

Comments

@arezvani
Copy link

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”

@arezvani arezvani added the type/question Question about product, ideally should be pointed to discuss.hashicorp.com label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Question about product, ideally should be pointed to discuss.hashicorp.com
Projects
None yet
Development

No branches or pull requests

1 participant