superfly / fly-autoscaler

A metrics-based autoscaler for Fly.io
Apache License 2.0
28 stars 4 forks source link

Blue green upgrades #30

Open gedw99 opened 6 months ago

gedw99 commented 6 months ago

When running a cluster of things you need to not only control the scale but also upgrading the machines ( like 3 ) such that they is no down time.

The yaml config could be extended to support this will basic http calls to put a machine into drain mode and then upgrade one at a time .

This is pretty standard pattern , but there are other patterns. https://gofr.dev/docs/advanced-guide/publishing-custom-metrics show these standard patterns on a few of their pages.

This would broaden the amount of systems that can be run on fly.

https://github.com/gofr-dev/gofr Is the code to match the docs