Skip to content
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

Degraded performance in swarm during a scale up #1238

Closed
Yshayy opened this issue Mar 5, 2017 · 1 comment
Closed

Degraded performance in swarm during a scale up #1238

Yshayy opened this issue Mar 5, 2017 · 1 comment

Comments

@Yshayy
Copy link
Contributor

Yshayy commented Mar 5, 2017

What version of Traefik are you using?1.2.0-rc2

What is your environment & configuration?

Docker swarm mode.
Multiple traefik instances, multiple services.
Using traefik.backend.loadbalancer.swarm=false for a service (or just keeping it anything other then true).

What did you do?

Scaling up a service.

What did you expect to see?

Everything works and performs well.

What did you see instead?

The service endpoint have significant degraded performance during the new containers startup.

This issue doesn't reproduce when using traefik.backend.loadbalancer.swarm=true.
I don't have much experience with Traefik or swarm, but it looks to me that swarm's tasks don't change their state to running (from starting) until health-check is complete.
While swarm VIP is aware of the difference between state "starting" and "running" and does not pass traffic to these containers, I think that Traefik as of 1.2.0-rc2 ignores it.

@timoreimann
Copy link
Contributor

@Yshayy did you resolve the issue? If so, how?

@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants