superfly / fly

Deploy app servers close to your users. Package your app as a Docker image, and launch it in 17 cities with one simple CLI.

Home Page:https://fly.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Machine API V2 and region add does not scale as expected

spotsnel-admin opened this issue · comments

I find the machines api confusing when it comes to fly regions add ... and the flyctl scale count 2, as it seems this does not work as such, without a clear error.

flyctl scale count 2 --max-per-region fails, but the description is even more confusing.

Instead, you are supposed to use fly machines clone --region ... [id]. After which, the command fly regions list does show the expected values from the regions you cloned to.

I would however expect the first command regions add to work as expected or indicate that for V2 you need to clone instead.

Might have filed this in the wrong repo, as this looks a lot like: superfly/flyctl#1990