nomad
nomad copied to clipboard
specify listening on only tcp or udp port in `network` block
Proposal
att, currently the nomad will listen a port on both tcp and udp protocol, so is there a way we can listen the port on tcp or udp only?
Hi @huwany! There's not currently a way to specify this, but it seems like a reasonable feature request. Something that may be interesting for us to look into is whether all task drivers can support it. Marking this issue for discussion and roadmapping.
@tgross ok, got it.
The usage example:
4a7d2572e4c3 planitar/dd-agent:7.50.3 "/bin/entrypoint.sh" 2 seconds ago Up 2 seconds 172.17.42.1:8125->8125/udp, 8126/tcp dd-agent