linkerd / linkerd-examples

Examples of how to configure and run linkerd
https://linkerd.io
Apache License 2.0
432 stars 221 forks source link

ECS example, host port 53 - address already in use #252

Closed gitisz closed 5 years ago

gitisz commented 5 years ago

I am experimenting with the ECS linkerd example, however in our AMI we have dnsmasq owning port 53 on the host. As a result when launching the taskDefinition, the consul-agent fails:

 Error starting userland proxy: listen udp 0.0.0.0:53: bind: address already in use

What might you recommend to start the consul-agent? Would forwarding DNS to 127.0.0.1 to the container on port 8600 be the right option? Or should I just disable dnsmasq and allow the container to bind to host port 53?

siggy commented 5 years ago

@gitisz I think either approach sounds reasonable, in case you haven't seen this already, your forwarding approach is documented here: https://learn.hashicorp.com/consul/security-networking/forwarding#dnsmasq-setup

I'm going to close this issue for now, hop into Linkerd Slack if you have more questions.