Virtual IP for service "discovery"?

343 views
Skip to first unread message

Brian Lalor

unread,
Feb 6, 2017, 2:53:16 PM2/6/17
to Consul
Last week I watched a talk given by Mitchell (I think it was from Dockercon EU ’14) that made a reference to an alternative form of service discovery that essentially entailed a Consul-provided virtual IP address.  It sounded like connections to that IP (on any port?) would be accepted by Consul and forwarded to the host and port where the service is running.  Is that an idea that is still being pursued?  I can see that being useful for clients that don’t support SRV records natively (which is unfortunately most of them).

Thanks,
Brian

— 
Brian Lalor

James Phillips

unread,
Feb 7, 2017, 11:46:15 PM2/7/17
to consu...@googlegroups.com
Hi Brian,

Take a look at https://github.com/eBay/fabio - that sits alongside
Consul and provides this in a very easy-to-consume form.

-- James
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/hashicorp/consul/issues
> IRC: #consul on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Consul" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to consul-tool...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/consul-tool/BDE6F7FA-D0C4-4A45-9F4D-68D8DDB1F6BE%40bravo5.org.
> For more options, visit https://groups.google.com/d/optout.

François Prud'homme

unread,
Feb 8, 2017, 1:52:33 AM2/8/17
to Consul
For information, there is also https://github.com/containous/traefik
I switch from fabio to traefik due to the feeling that traefik has a bigger community/dev team (it's only a feeling 😉).

By reading title of this subject, i was wondering if someone has already try to do a virtual ip managed with consul. I'm using keepalived, but with lock/watch/services/checks... Maybe it's possible to give all to consul ? (vip is essential beside fabio/traefik/haproxy... Due to fact that too many client have a too big dns cache to rely only on consul dns 😕)
Reply all
Reply to author
Forward
0 new messages