Replace k3s with direct soul-demo watchdog #57

Merged
will.anderson merged 1 commits from fix/checkout-auth-reveal into dev 2026-05-11 00:47:00 +00:00
Owner

Fixes Cloud Run container crashes caused by k3s flannel failing to find eth0 with a unicast IP.

  • Replace k3s orchestration with a bash watchdog that runs soul-demo directly
  • Remove k3s binary, soul-demo OCI image tar, and k3s manifests from Dockerfile.stage
  • Simplify CI: remove k3s download step, soul-demo now just a binary
  • Document HAVE_CURL requirement in manifest.el
Fixes Cloud Run container crashes caused by k3s flannel failing to find eth0 with a unicast IP. - Replace k3s orchestration with a bash watchdog that runs soul-demo directly - Remove k3s binary, soul-demo OCI image tar, and k3s manifests from Dockerfile.stage - Simplify CI: remove k3s download step, soul-demo now just a binary - Document HAVE_CURL requirement in manifest.el
will.anderson added 1 commit 2026-05-11 00:46:49 +00:00
Replace k3s with direct soul-demo watchdog in Cloud Run container
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 2m11s
cd1c6737e8
Cloud Run gen2 doesn't provide eth0 with a unicast IP, causing k3s flannel
to crash on every container start. k3s was also wrong architecture for
Cloud Run (HPA inside a container, k3s overhead for one process).

Changes:
- entrypoint.sh: replace k3s server with a bash watchdog loop that starts
  soul-demo directly and restarts it on crash (3s backoff)
- Dockerfile.stage: remove k3s binary, soul-demo-image.tar, k3s manifests
  and their associated dirs/envvars; keep soul-demo binary only
- stage.yaml: remove 'Download k3s binary' step; rename and simplify
  soul-demo build step to compile binary only (no OCI image/tar)
- dev.yaml: update soul-demo placeholder step (binary not tar)
- manifest.el: document HAVE_CURL requirement since manifest.el has no
  c_flags/link_flags directive support
will.anderson merged commit 4d359ff021 into dev 2026-05-11 00:47:00 +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#57