Add service archetype for always-on LAN service VMs (first consumer: buzz relay stack) #15
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
allod/archetypes#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a service archetype so the framework can compose small headless always-on VMs that serve other machines on the local network, with the buzz relay stack as the first consumer.
Primary goals:
inventory.lib.supportedPlatforms, never local system lists.Current state
The archetype layer stubs this class today:
flake.nix:298carries# mkServiceVm = TBD when first service VM is added. Evaluation numbers for sizing the first consumer: the buzz stack idles around 225MB total (relay 34MB, Postgres 30MB, Redis 9MB, MinIO 152MB). Relay behaviors the module must own: S3 is mandatory at boot (a git object-store conformance probe gates startup), search defaults to Postgres FTS so no extra search service is needed, and the relay binds a WebSocket/web port plus separate health (8080) and metrics (9102) listeners, so the archetype firewall must scope exposure per machine.Scope
In scope: archetype merge support and shared modules for the service class, the buzz package and service module, one synthetic example machine, and checks — all in this repo and its profiles input. Out of scope, owned by downstream deploy forks: concrete machines and addressing, key material, backups, and rollout sequencing. The public dev plan for this work lands in allod/strategy dev-plans and links back here.