Add more documentation about how nomad and consul works together
There are some bits here and there in the docs talking about how consul can be used for service discovery, however it's unclear how it all fits together.
There should be more information regarding this, and perhaps an example cluster where nomad and consul is set up in tandem.
- 1
I suspect they do not work together yet, but it would be awesome to not to use registartor for that. +1
This integration is in the works and should be functional soon! We will definitely include detailed documentation on the specifics.
+1
:+1:
+1
:+1: Definitely interested in this.
:+1:
:+1:
+1
:+1:
+1
+1
I'm very much looking forward to having this.
Here you guys go: https://www.nomadproject.io/docs/jobspec/servicediscovery.html
@dadgar Are there still any plans to let nomad manage consul?
@F21: Not in the sense that we will have the Nomad client download or even launch Consul during startup. Instead we will be advocating the usage of a System job that schedules Consul on every node. We will hopefully be able to write a tutorial on this in the near future.
@dadgar In the case of running consul as a system job, would consul be in a docker container (with host networking) or would consul be run using exec?
I think the docs are clear @F21: it's up to the operator to make that all work - and depending on the details in your setup, either could work.
@F21: Yeah it will depend on your use case. If you are doing script based health checks then possibly with a raw_exec. If you aren't then docker or exec would both work but with docker you would have to set up networking correctly.