mycelium
mycelium copied to clipboard
💙 Blue / Green Rolling Update
When a proxy CRD is updated, the following should happen...
- create new pods representing the updated proxy CRD
- modify the service to point to only the new pods
- wait for the old pods to have 0 players connected, or hit some set time threshold (24h)
- delete the old pods
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.