~/talk

Nix Builds 🤝 K8s Dev Environments: A Love Hate Relationship in 5 Acts

Talkat PlanetNix 2026 · 2026-03-05..03-06· [kubernetes, devops-and-delivery]
name:Sam Fu
links:none on file
slides:none on file

Anthropic gets Nix builds to run inside Kubernetes by upgrading the control plane to enable procmount unmask, requiring pods to use user namespaces (hostUsers=false), and changing Terraform usage from unsupported fields to raw manifests. The team patches runtime gaps with a monkey-patch runc wrapper that strips ID mappings for char devices, passes /dev/net/tun to TailScale, and swaps a privileged Docker sidecar for dockerd rootless. A beta of ~20–50 users validates the rollout before GA with per-user opt-outs.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:47Broken Nix build in K8s
  3. 2:53Kernel sandboxing rules
  4. 4:18Why sandboxing must work
  5. 5:23Journey begins with user namespaces
  6. 7:08Kubernetes procmount limitations
  7. 8:33User namespace requirements
  8. 9:36Terraform config hurdles
  9. 10:41Post-creation patching solution
  10. 11:23Switching to raw manifests
  11. 12:29Tailscale sidecar failure
  12. 13:53DevNet device mapping issue
  13. 14:14Container stack deep dive
  14. 15:19UID mapping char device limits
  15. 16:03Alternative Tailscale approach
  16. 16:45Monkey-patching runc
  17. 17:27Docker sidecar conflicts
  18. 18:09Rootless Docker solution
  19. 19:11Rollout and user testing
  20. 20:36Takeaways and ecosystem notes
  21. 21:41Future of user namespaces
  22. 22:02Call for shared experiences
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.