-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check for endpoints while detecting Consul service changes #2882
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@caseycs The review process: https://github.com/containous/traefik/blob/master/MAINTAINER.md#pr-review-process Please don't merge master. |
@ldez thanks, I missed this part. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👏 👏
What does this PR do?
Check for endpoint ip address while detecting Consul catalog changes
Motivation
I'm experimenting with Docker Swarm, Registrator and Consul to implement service discovery in my project, and turned out, that scaling or updating an image for a service does not trigger Traefik to refresh back-ends.
After some investigation I figured out, that it's looking only on diff of unique node ids (that's why scaling a service on the same node never trigger update) and does not check for endpoint ip changes at all.
More
Additional Notes
Nothing else to mention.