Google Cloud and Community Release llm-d 1.0 to Optimize Distributed Inference on Kubernetes
llm-d 1.0 has officially launched as a CNCF Sandbox project, delivering a Kubernetes-native distributed inference orchestration solution featuring KV-cache-aware routing and disaggregated prefill/decode across TPUs and GPUs.
Curated by Vibe DevOps · approx. 557 words
Key Takeaways
- The open-source CNCF Sandbox project llm-d 1.0 was co-founded by Google alongside Red Hat, IBM, and over 500 contributors across 25 organizations.
- The platform integrates model-serving engines such as vLLM and SGLang with Kubernetes, enabling flexible orchestration across TPU and GPU hardware.
- Cache-aware routing keeps agent context pinned to the appropriate replicas, combined with KV cache offloading to host system memory.
- A disaggregated prefill and decode architecture powered by DisaggregatedSet enables safe rolling updates without dropping active session state.
From Original Source
Architecture and Core Features of llm-d 1.0
llm-d 1.0 is engineered to solve inference bottlenecks caused by multi-step agent workloads, where request streams share long context prefixes and exhibit bursty traffic patterns. Instead of naive round-robin load balancing that triggers redundant computation, llm-d consolidates model server pools behind a single endpoint. An inference router built on Gateway API Inference monitors replica-cached prefixes and server load to forward requests optimally.
To prevent High Bandwidth Memory (HBM) exhaustion, llm-d supports offloading the KV cache to host RAM or external storage tiers. Additionally, the llm-d-async-processor component harvests idle compute cycles during reinforcement learning runs to handle non-latency-sensitive inference queues.
From Original Source
Operational Reliability and Compute Phase Disaggregation
Prompt processing (prefill) is compute-bound, whereas token generation (decode) is constrained by memory bandwidth. llm-d decouples these two phases into dedicated resource pools. The DisaggregatedSet custom resource, built on LeaderWorkerSet, enables operators to execute synchronized rolling updates across prefill and decode worker pools without dropping context for active in-flight sessions.
Vibe DevOps Editorial Commentary
Implementation Recommendations for Platform Teams
DevOps Take: When running LLM serving clusters on Kubernetes for agentic workloads, prefix-aware routing and KV cache tiering are vital to eliminating redundant compute and preventing accelerator Out-of-Memory (OOM) failures. Engineering teams should prioritize standardizing the L7 routing layer and implementing queue prioritization between interactive real-time traffic and background batch jobs before adopting fully disaggregated prefill-decode architectures.
⚠️ Operational Caveats & Limitations
- Advanced cache management features and TPU-specific optimizations remain tightly coupled with GKE and Google Cloud infrastructure.
- Disaggregating prefill and decode clusters introduces strict requirements for ultra-low latency, high-bandwidth inter-node networking.