Non-blocking entrypoint + k3s --flannel-iface fix #46

Merged
will.anderson merged 2 commits from dev into stage 2026-05-10 17:55:17 +00:00
Owner

Promotes entrypoint fix: neuron-web starts immediately, k3s runs in background without blocking port 8080.

Promotes entrypoint fix: neuron-web starts immediately, k3s runs in background without blocking port 8080.
will.anderson added 2 commits 2026-05-10 17:55:09 +00:00
Non-blocking entrypoint: start neuron-web before k3s is ready
Dev — Build & local smoke test / build-smoke (pull_request) Failing after 2m11s
180acc92a0
k3s fails to start in Cloud Run gen2 with "unable to select an IP from
default routes" because Cloud Run's network sandbox doesn't expose a
standard default route for k3s to detect. The blocking wait on k3s
prevented neuron-web from ever binding port 8080, causing Cloud Run's
startup probe to time out and terminate the container.

Two changes:
1. Add --flannel-iface=eth0 so k3s pins to Cloud Run's eth0 rather than
   walking the routing table to detect a default-route interface.
2. Start neuron-web immediately after launching k3s in background.
   soul-demo becomes available asynchronously; neuron-web handles it
   being temporarily unavailable gracefully.
Non-blocking entrypoint: start neuron-web before k3s is ready
will.anderson merged commit c76e5a19eb into stage 2026-05-10 17:55:16 +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#46