Pick cheapest GPU SKU and pin the VM to an existing disk AZ.

Scan ru-6 by Nova availability zones (a/b/c). First boot uses FLAVOR_SIZE_PRESET=cheap; reruns stay on the disk segment.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-22 00:06:44 +03:00
co-authored by Cursor
parent 5d0c30f66b
commit 789fa26918
19 changed files with 666 additions and 71 deletions
+2
View File
@@ -57,6 +57,8 @@ UPDATE_GIT=true
DEFAULT_FLAVOR_ID=
FLAVOR_PREFERENCE=4090-24,4090-48,a5000,a100-40
FLAVOR_FALLBACK=true
# cheap = 1×GPU min vCPU/RAM; balanced ≈ 8/32GB; ram = max RAM among 1×GPU
FLAVOR_SIZE_PRESET=cheap
# Pools to probe before pick (ru-6 = Selectel multi-zone). Comma-separated.
SCAN_POOLS=ru-6,ru-7
DEFAULT_SPOT=true