Deploy an app · Fly Docs mentions that the default deployment strategy restarts one machine at a time, but I’m seeing up to four machines get shutdown and restarted at a time in an 11 machines cluster. Sometimes it restarts all machines within a single region, I had two machines in syd and saw them being restarted at the same time. I wonder if I’m doing anything incorrectly as I would’ve expected at least one machine per region to stay alive for seamless deployments.
For now, I’m going to switch to bluegreen deployments.
Hi… Yeah, the chapter of the docs that you’re reading really does give that impression, , and I think that was how rolling worked for a long time:
Now, though, the default allows it to take as much as 33% of your fleet down simultaneously (presumably geared toward the huge, 1000-Machine customers that Fly.io makes most of its money from).
I would try max_unavailable = 1 and see whether that behaves any better, from your perspective. (That’s the behavior that many others guessed was the default, as well, incidentally.)
Whole number values, greater than or equal to one, specify exactly how many Machines can be down at a time. For example, a value of 1 would update one-at-a-time.