-
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
During Rolling Update both old and new Spec tasks #34413
Comments
Yes, it's possible both an MySQL and PostgreSQL server would be running during the update. I don't think such a scenario would be very realistic though. There's a number of options available to pick the right update strategy for your situation, that can be set by the user; https://github.com/docker/docker-ce/blob/17.07/components/cli/docs/reference/commandline/service_update.md
Other strategies could be a blue/green deployment using multiple services, for example as explained in https://github.com/stevvooe/sillyproxy |
The update options are not implemented, at least not for a rolling update on Docker for AWS. On rolling update a one replica service to 5 replicas first a few new tasks are started and subsequently the first task is shutdown even though the default |
If you suspect there's a bug it would be helpful to provide the exact steps to reproduce the issue and the output of |
Isn't at least one service task expected to be running in a rolling update for high availability of a service? |
Let me close this ticket for now, as it looks like it went stale. |
Description
During a rolling update tasks from both the new service Spec and the old service Spec are running, albeit for a short while. Is a rolling update designed as such? If a rolling update is to update a MySQL database image to a Postgres image, would both databases be served during an update?
A design issue, does not require detailed info for test.
"Before Swarm updates all of the tasks, you can see that some are running redis:3.0.6 while others are running redis:3.0.7. "
https://docs.docker.com/engine/swarm/swarm-tutorial/rolling-update/
The text was updated successfully, but these errors were encountered: