autoscaler: preflight check instance type availability at startup

This commit is contained in:
Abel Luck 2026-02-28 16:07:53 +01:00
parent 02b1a063ab
commit 1a355429cb
4 changed files with 83 additions and 0 deletions

View file

@ -127,6 +127,7 @@ def main() -> None:
)
runtime = EC2Runtime(config.aws)
runtime.preflight_validate()
haproxy = HAProxyRuntime(
config.haproxy.runtime_socket,
config.haproxy.backend,