-
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
Supporting graceful upgrades and zero-downtime dpeloys #1663
Comments
The only related issues I've found so far are: |
+1 @prologic
I've tested the process manually and it works great, and a basic automated script is not very hard to write, but in a production environment we need to handle failures, rollbacks or resumes of upgrading, which complicates things a bit, so an official support on this will be great. A minor problem: I couldn't find a way to spawn new containers affinitied to corresponding old containers with |
Is something like this considered genreal purpose and useful enough? Or do we also need to think about making "draining load balancer" a plugable thing? |
Not a lot of movement on this one (even from me!); How about something as simple as a
|
The main problem I see right now is that links are not updated. If you want to do something like @ccll you need to add your own container discovery service. |
@ccll Do you have a script/tool that does what you described that you're willing to share? Otherwise I'm going to prototype up something (be good to leverage of your efforts). |
@prologic |
In that case I've almost completed a general solution that will work with the autodock platform. |
Consolidating all production related issues into #1786 |
Hi All,
I see there are talks about plans to support this in the future which is great. What have we come up with so far? I'm starting to think about this more with the stuff I do and would like to see something get started on this. I was at least initially thinking of an
upgrade
command that gracefully pulls down the latest image for a service, spawns a new instance and terminates the old one.I think things like (typical web production stuff) like database migrations/upgrades, load balancer raining and switching are likely out-of-scope for Docker Compose and should probably be handled by some other decoupled tooling. But I'm not sure yet; I'm just thinking about the "first step".
Thoughts?
The text was updated successfully, but these errors were encountered: