coredns / coredns

CoreDNS is a DNS server that chains plugins
https://coredns.io
Apache License 2.0
12.09k stars 2.09k forks source link

New plugin: Nomad #5829

Open mr-karan opened 1 year ago

mr-karan commented 1 year ago

What would you like to be added:

Nomad recently launched support for service discovery, which enables discovering services without the use of Consul. Nomad maintains a service catalogue of all the services which are registered, with it's address/port, tags etc available over APIs.

Why is this needed:

A Nomad plugin would enable the usecase of discovering Nomad services via DNS. Currently that isn't possible and the only way to use Nomad services is via consul-template or querying Nomad HTTP APIs directly. However, querying services via DNS is a common use case and the plugin will allow for that.

I'd like to build the plugin and send a PR if it's okay to add support for this.

chrisohaver commented 1 year ago

Sounds good to me. Thanks!