feat(config): enable microvm direct-boot LB path by default

Uncomments the [nodes.<node>.daemon.microvm] section in the generated
spinifex.toml template and sets elbv2_enabled = true so all new
clusters bring up ELBv2 LBs via the direct-boot microvm path. Operators
can opt back to the legacy PC-machine path by flipping the flag to
false in the rendered config.

Required for end-to-end CI on this branch to exercise the direct-boot
path. Existing clusters' configs are unchanged (the template only
affects fresh 'spx admin init' renders).
This commit is contained in:
joshsiv-mulga
2026-05-17 20:51:46 +10:00
parent 81beafe895
commit ce9d544191
+4 -2
View File
@@ -72,8 +72,10 @@ dev_networking = true
gpu_passthrough = true
{{- end}}
# [nodes.{{.Node}}.daemon.microvm]
# elbv2_enabled = false
[nodes.{{.Node}}.daemon.microvm]
# New LBs use the direct-boot microvm path on Linux/x86 hosts.
# Flip to false to fall back to the legacy PC-machine path.
elbv2_enabled = true
# image_path = "/usr/share/spinifex/microvm"
# isa_serial = true # set false only after measuring boot savings; disables per-VM console log