For basic zero-downtime Gitea upgrades we need:
Load balancer should start directing or redirecting all traffic to one Gitea container while a new one is updated, then traffic is switched back over an the upgraded container begins receiving all the Traffic again (unless Swarming).
- What if a db migration is required?
- What's the easiest way to spin up a temp Gitea and immediately begin redirecting all traffic?
- How to do this without interfering with cronjobs or other long-running, batch or sensitive processes?
Think also about the host and when it should be updated. Would k8s help here?
Here's some info on how Discourse does things:
The paid WordPress teams might have some useful info too, especially if (when) Redis is thrown into the mix.