-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Sequential restart when using docker-compose up
with scale
#5124
Comments
Both are valid strategies depending on your use-case, but you're right that we don't currently offer an automated way to do zero-downtime deployments. In the meantime, you may want to take a look at #1786 (comment) which outlines how to do so manually. |
Hi @shin- , |
Unless you're looking at versions from 2 years ago, that wasn't the case. |
I was indeed working with a very old version (due to CI constraints). |
Replying to the original question, it is still not possible to do sequential restarts. However, you can prevent |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it had not recent activity during the stale period. |
Hello,
It seems to me that when scale is > 1, and a new image is being pulled, using
docker-compose up
restarts all containers in parallel rather than sequentially.Doing a cascading restart would ensure zero downtime.
Am I correct in my analysis?
Thank you,
Olivier
The text was updated successfully, but these errors were encountered: