CB1
September 10, 2022, 10:57am
1
Guys every time I try to use “fly scale count 0 -a appname”
I got …
Error Invalid VM group:
It happens to multiple deploys, my fly status looks normal here sample
App
Name = little-meadow-8343
Owner = personal
Version = 0
Status = running
Hostname = little-meadow-8343.fly.dev
Platform = nomad
Instances
ID PROCESS VERSION REGION DESIRED STATUS HEALTH CHECKS RESTARTCREATED
b6c5b894 worker 0 sin run running 0 14h58m ago
Please suggest.
1 Like
I also ran into this issue trying to scale down a test app and have so far not been able to figure out how to specify a VM group or otherwise get around this; there doesn’t appear to be a relevant flag
CLI version: flyctl v0.0.403 linux/amd64 Commit: 4386a944 BuildDate: 2022-10-02T15:52:19Z
Does your fly.toml
have a [processes]
section? (docs )
I believe those are called process “groups” and you may need to specify which group you want to scale.
Apps can get in a weird state as well if you used to have [processes]
and then took them away later as well.
CB1
October 11, 2022, 9:14am
4
Yes indeed!
myfly.toml
got
[processes]
worker = “python3 main.py”
per your suggestion correct way to scale down is fly scale count worker=0
That solved the problem, thank you very much!
1 Like