From Nix to Kubernetes: No Image Layover
summary
Explains two concrete methods to run Nix-built closures on Kubernetes without OCI images: a Flux containerd runtime shim that intercepts container creation, pulls or builds Nix store paths on the node, and bind-mounts them into the runc spec (uses a tiny 48βbyte scratch image); and Nix CSI ephemeral volumes that materialize closures into volumes attached by kubelet with a cluster-level binary cache backed by a stateful set (EBS). Also compares tradeoffs, install scope, and GC behavior versus traditional images.
AI-written summary Β· about
