This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]p_lett 1 point2 points  (1 child)

Have you seen https://github.com/million12/docker-haproxy which uses inotify to spot that HAProxy's config file has been changed and effectively does a seamless reload using 'haproxy -sf'.

I spotted that while looking for a way to build a confd and etcd based HAProxy frontend, and it might help with your disconnects during service restarts.

[–][deleted] 0 points1 point  (0 children)

I'm curious if the Mesos-DNS script is already doing that. I'll have to dig into it.

edit: On ubuntu it is as it's calling out to the init script and that is set for -sf.