we use consul for autodiscovery for our apps running in docker.
App run on docker hosts and register service in consul (with IP address of docker host).
Consul agent running with “advertise_addr”: “<docker_host_ip>”,
At the moment we do not use rancher/kube or other orchestration tools.
Now we studying Rancher 2.0(kubernetes) for orchestration our app.
The question is not new, how can we register service in consul with docker_host_ip(kubernetes node IP) running through rancher / kubernetes with?
We should use https://github.com/gliderlabs/registrator ?