Sure. It still need some work but you can grasp the idea here: https://github.com/QuintilianoB/kubernetes_haproxy
Hope it helps. PS: I forgot about the translation. I'll do it latter and update it.... Att. 2017-11-06 17:11 GMT-02:00 Norman Branitsky <[email protected]> : > I believe Docker Swarm has a similar API. > Is the code for you listener public? > > > > *From:* Soluti Quintiliano [mailto:[email protected]] > *Sent:* November-06-17 2:08 PM > *To:* Norman Branitsky <[email protected]> > *Cc:* [email protected] > *Subject:* Re: HAProxy as a frontend for Docker Swarm deployment > > > > I don't know how this would be done to Docker Swarm, but we are using > HAproxy in front of Kubernetes cluster with automatic HAproxy configuration > for each new services which need external access. > > We just wrote an listener to the Kubernetes API whom update HAProxy as > needed. We choose to change HAproxy and reload it when changes occurs but > you can also write directly to its sockets for include/exclude backends. > > Att. > > > > Quintiliano. > > > > > > 2017-11-06 16:59 GMT-02:00 Norman Branitsky <Norman.Branitsky@micropact. > com>: > > I just found out another group has started deploying microservice based > apps on Docker Swarm > > using Traefik <https://docs.traefik.io/> saying: > > > “we are starting to deploy applications designed as microservices , but > have chosen Traefik for our ability > to dynamically add sites based on Docker Service label.” > > > > Having read the docs, it appears to be reasonable for internal exposure > only. > With respect to dynamic configuration based on Docker Service label, > > how does this compare vis a vis HAProxy? > > > > Norman > > > > > *Norman Branitsky *Cloud Architect > > MicroPact > > (o) 416.916.1752 <(416)%20916-1752> > > (c) 416.843.0670 <(416)%20843-0670> > > (t) 1-888-232-0224 x61752 <(888)%20232-0224> > > www.micropact.com > > Think it > Track it > Done > > >

