Zero-downtime deployment (ZDD)

Now that you've seen how the blue/green deployment works, let's understand the traffic splitting between the blue and green versions of the app. So, ZDD has support to split the traffic between two versions of the same app (that is, the blue version and the green version) by having instances of both versions live at the same time. This is supported by the HAPROXY_DEPLOYMENT_NEW_INSTANCES label. When you run ZDD with the --new-instances flag, it creates only the specified number of instances of the new app, and deletes the same number of instances from the old app. For example, if your blue deployment is running with the full wrap and the --new-instances flag, it shows 2. So, it will just delete the existing ...

Get Learn Apache Mesos now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.