nomad icon indicating copy to clipboard operation
nomad copied to clipboard

Add more documentation about how nomad and consul works together

Open F21 opened this issue 11 years ago • 29 comments

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.

F21 avatar Sep 30 '15 06:09 F21

  • 1

zrml avatar Sep 30 '15 08:09 zrml

I suspect they do not work together yet, but it would be awesome to not to use registartor for that. +1

sielaq avatar Sep 30 '15 10:09 sielaq

This integration is in the works and should be functional soon! We will definitely include detailed documentation on the specifics.

ryanuber avatar Oct 01 '15 18:10 ryanuber

+1

bhameyie avatar Oct 05 '15 16:10 bhameyie

:+1:

djsly avatar Oct 09 '15 00:10 djsly

+1

defender avatar Oct 09 '15 14:10 defender

:+1: Definitely interested in this.

raykrueger avatar Oct 19 '15 16:10 raykrueger

:+1:

Dahs81 avatar Oct 20 '15 13:10 Dahs81

:+1:

maxenglander avatar Nov 02 '15 23:11 maxenglander

+1

defender avatar Nov 03 '15 08:11 defender

:+1:

adamveld12 avatar Nov 08 '15 16:11 adamveld12

+1

zanedeg avatar Nov 09 '15 21:11 zanedeg

+1

marcelocorreia avatar Nov 10 '15 15:11 marcelocorreia

I'm very much looking forward to having this.

c4milo avatar Nov 16 '15 22:11 c4milo

Here you guys go: https://www.nomadproject.io/docs/jobspec/servicediscovery.html

dadgar avatar Nov 19 '15 19:11 dadgar

@dadgar Are there still any plans to let nomad manage consul?

F21 avatar Nov 19 '15 21:11 F21

@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 avatar Nov 19 '15 21:11 dadgar

@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?

F21 avatar Nov 20 '15 02:11 F21

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.

ketzacoatl avatar Nov 20 '15 05:11 ketzacoatl

@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.

dadgar avatar Nov 21 '15 22:11 dadgar