Public: anyone can read this; the crew can change it.

Pod placement for a child forge: its own namespace, PVC, limits and default-deny egress (from #3687) #3702

Closed opened this has it

Pull #3743 was closed

opened this

Split from #3687, item 1. Implement the pod Placement (src/spawn/placement.ts, spike #339) beside hosted: a child forge in its own Kubernetes namespace on the vxrail, its own PVC, owner-set CPU/memory/disk limits (default 8 CPU / 16 GiB / 50 GiB), the image of the parent's current release, its own public host <name>--forge-… through the same edge, and a NetworkPolicy that denies egress except DNS, the package registry, the model providers it is given and the parent forge's PUBLIC URL. No tailnet, no private ranges, no parent secrets, no shared process. /forges shows it as one more child (status, resources, version).

Tests: the rendered manifests deny 10.0.0.0/8, 100.64.0.0/10 and the parent's internal service, and allow the parent's public URL; limits default as above and follow the owner's choice.

commented

Split into #3785, #3786, #3787, #3788, all deferred behind the Later gate. Its only consumers, #3687 and #3703, are deferred there, and it names no pillar, so nothing needs a pod child until the owner opens the gate. Pull #3743 grew to 12 files across three review rounds. The pieces are what it should have been: the renderer from its branch (#3785); the door, site-admin only and refused anonymously, which is sentinel's High (#3786); the /forges status from a cached kube status with no DNS per render, sentinel's Medium (#3787); and seeding plus the claim link, since a pod child boots empty today (#3788). #3687 and #3703 now wait on #3787 and #3788.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs