mycelium icon indicating copy to clipboard operation
mycelium copied to clipboard

💙 Blue / Green Rolling Update

Open nikhiljha opened this issue 3 years ago • 1 comments

When a proxy CRD is updated, the following should happen...

  1. create new pods representing the updated proxy CRD
  2. modify the service to point to only the new pods
  3. wait for the old pods to have 0 players connected, or hit some set time threshold (24h)
  4. delete the old pods

nikhiljha avatar Jan 03 '22 21:01 nikhiljha

Progress in https://github.com/nikhiljha/mycelium/commit/e60c82041132b33ef04841de428e0ccca7493c9d

Next I need to make an endpoint that the proxy can call when it drops to 0 players / changes to nonzero players.

nikhiljha avatar Jan 06 '22 01:01 nikhiljha