promote: dev → stage #16

Merged
will.anderson merged 3 commits from dev into stage 2026-05-09 17:41:12 +00:00
Owner

Brings in k3s embedded soul-demo runner + native el-ui rewrite.

Brings in k3s embedded soul-demo runner + native el-ui rewrite.
will.anderson added 3 commits 2026-05-09 17:41:04 +00:00
soul-demo now runs as a k3s Deployment with HPA (1–8 replicas, 60% CPU
target) instead of a bare background process. k3s starts first in
entrypoint.sh, imports the soul-demo:local OCI tar from
/var/lib/rancher/k3s/agent/images, and auto-applies the Deployment,
NodePort Service, and HPA from the server/manifests dir. neuron-web
starts only after the soul-demo pod is Running. Cloud Run gen2 execution
environment required for k3s (provides /dev/kmsg and Linux capabilities).
fix: run k3s as root, bump HPA CPU threshold to 80%
Dev — Build & local smoke test / build-smoke (pull_request) Failing after 3m54s
c6ee45a374
k3s needs CAP_SYS_ADMIN to create network namespaces and mount cgroups.
USER landing was preventing this. Cloud Run gen2 is the security boundary.

60% CPU was too conservative for soul-demo — it is I/O-bound (LLM API calls),
not CPU-bound. 80% gives correct headroom before scaling kicks in.
feat: embed k3s to run soul-demo as self-healing k8s pods
Dev — Build & local smoke test / build-smoke (push) Failing after 3m56s
66e3ac6321
will.anderson merged commit f8487c43a0 into stage 2026-05-09 17:41:12 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron-web#16