-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
service update can be blocked by long download #28312
Comments
Can you paste the output of Thought we fixed something around this. Thanks! |
Containers: 107 Client: Server: |
This might be a good application of the "rollout mode" concept proposed in moby/swarmkit#1383. We could have a rollout mode that pulls the new image before stopping the old task. |
Or possibly we could just change the behavior. I'm not sure there's a good reason anymore why we shut down the old task before pulling the image. There used to be orchestrator limitations that prevented that, but I think it's possible after moby/swarmkit#1363. |
If we update a service's image, e.g.
it will first stop the service, then attempt to download the image.
However, our registry is in the US and our docker services are in manila, so depending on the day's routes in Asia, sometimes this can unpredictably become extremely slow..
It would be better if the update would first download the image and then start updating services to minimize the downtime...
The text was updated successfully, but these errors were encountered: