Docker Community Forums

Share and learn in the Docker community.

Issues with Blue/Green deployments


(Matias De Carli) #1

Hi guys. I have this scenario

Since pushing a new version to the same service brings some slowness associated, I’m trying to avoid this by generating a new service in order to switch the HAProxy link’s. Basically a Blue/Green deployment.

The scenario works great when the containers associated with the HAProxy are scaled to 1, but when the containers are more than one, the HAProxy never gets auto redeployed. Manually forcing the redeploy on the HAProxy obviously causes 503’s and downtime

Any idea/workarround to this?
Thanks in advance