Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

v1.6.2

Choose a tag to compare

@tifayuki tifayuki released this 16 Dec 01:06
· 31 commits to master since this release
  • add support turn on/off a service from adding to haproxy, which is useful for blue/green testing.

e.g. Imagine you have a service called blue, and another called green and both are load balanced by dockercloud haproxy. You can do the following to remove the green service,

docker service update --label-add "com.docker.dockercloud.haproxy.deactivate=true" green

and run the following command to add it back

docker service update --label-add "com.docker.dockercloud.haproxy.deactivate=false" green