Why Kubernetes Cannot Contain a Full Lazy-Pulling Cache: Two Impossibility Results and a Bounded, Honest Design for Model Serving
Georgii Kliukovkin
Key points
From the paper's conclusion- A platform-side remedy cannot contain it: kubelet, given full disk-pressure visibility, frees 0 bytes and evicts 26 bystander pods, because its reclamation actuator is keyed to an accounting that does not know the cache exists.
Abstract
Lazy container-image pulling makes cold starts of autoscaled model-serving fleets on Kubernetes nearly independent of model size, but it moves the model's bytes into a node-level cache that the platform neither bounds nor accounts for. This article establishes, by experiment, two impossibility results for that cache. A monitoring-side remedy cannot catch its failure: a sentinel readiness probe stays green while 272 of 280 files are unreadable. A platform-side remedy cannot contain it: kubelet, given full disk-pressure visibility, frees 0 bytes and evicts 26 bystander pods, because its reclamation actuator is keyed to an accounting that does not know the cache exists. The article then eliminates the failure class inside the component that owns the bytes, with no change to kubelet or the container runtime interface, by two design rules: a byte budget whose pressure signal is keyed to filesystem truth, so that a never-blocking, lossy accounting still enforces a hard bound (held against about 301,000 dropped updates), and pass-through semantics under which a failed cache write never becomes a failed read, with the coupling traced to a single io.MultiWriter. Across six pre-specified campaigns on AWS, upstream stargz-snapshotter fails 273 of 280 model files at 90% cache pre-fill; the proposed system reads all 150.3 GB with zero errors at +18.5% completion cost and holds the budget under a live read, co-tenancy, and a three-node fleet. A source audit shows the missing bound generalizes to SOCI and Nydus. The implementation is open source and has been proposed upstream.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ScaleBench: An Extensible and Reproducible Experimental Platform for Kubernetes Autoscaling ResearcharXiv · 2026
- CloudSim Plus‐K8s: A Contract‐Driven Extension for Kubernetes Container Orchestration SimulationSoftware: Practice and Experience · 2026
- InferScale: Kubernetes-Native Predictive Autoscaling for SLO-Aware AI InferencearXiv · 2026
- A Reproducible Predictive Autoscaling Evaluation for Polyglot Kubernetes Microservices Using Residual Recurrent ForecastingConcurrency and Computation: Practice and Experience · 2026
- BlitzScale: Fast and Live Large Model Autoscaling with O(1) Host CachingACM Transactions on Computer Systems · 2026
- LooseLeaf: Enabling Serverless GPUs for Computational NotebooksarXiv · 2026