You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, between shutting down the old container and starting the new container, there is several seconds downtime. Since the service need to connect with MySQL / Redis, read config file or etc.
My question is how to roll restart the old container after the new container is healthy?
I have tested the --rolling-restart option, and I think that is useless, you can see obvious HTTP failures below(about 15%):
So is there have any solutions?
My scenario is to deploy new container on multiple machine without introducing k8s (to temporarily mantain compat with the old procedure).
Since this should be a very common requirement, but I don't find any existing solution(exclude swarm and k8s), that's weird.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, between shutting down the old container and starting the new container, there is several seconds downtime. Since the service need to connect with MySQL / Redis, read config file or etc.
My question is how to roll restart the old container after the new container is healthy?
I have tested the
--rolling-restart
option, and I think that is useless, you can see obvious HTTP failures below(about 15%):So is there have any solutions?
My scenario is to deploy new container on multiple machine without introducing k8s (to temporarily mantain compat with the old procedure).
Since this should be a very common requirement, but I don't find any existing solution(exclude swarm and k8s), that's weird.
Could you give me some advice? Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions