Skip to content

llm-d infrastructure providers

llm-d documents how to prepare several Kubernetes platforms, and one path without Kubernetes. This book's focus is the first row, Google Kubernetes Engine with Cloud TPU (chapter 20, chapter 21); the other rows are here so you can place it among the alternatives. All rows are from the llm-d 1.0 infrastructure pages and describe what each page states; "Not stated" means the provider page does not say.

Comparison

Provider Accelerators documented Gateway options stated Notable requirements
GKE with Cloud TPU (this book) TPU v6e (ct6e) and TPU7x (tpu7x) in the llm-d TPU guides; the GKE page also lists ct5p and ct5lp (v5e). Engine: vLLM on TorchTPU (vllm/vllm-torchtpu) GKE Gateway (GKE Inference Gateway); the page says Gateway API integration is the same as on any other accelerator Node selectors for accelerator and topology plus google.com/tpu chip count must match the machine type, or the pod stays Pending; TP × DP must equal the slice's devices; LeaderWorkerSet for multi-host slices; persistent compile cache and a startupProbe sized for the cold start; flex-start nodes last at most 7 days
GKE with GPUs NVIDIA A3 (H100), A3 Ultra (H200), A4 (B200), A4X (GB200) GKE Inference Gateway, with its environment prerequisites GKE 1.33.4 or later (1.34.0-gke.1626000 or later installs the Gateway API and v1 InferencePool CRDs); GPUDirect-TCPX on A3 or GPUDirect RDMA on A3 Ultra and newer for P/D; DRA and DRANET for RoCE; gIB 1.10 or later for vLLM 0.11.0 and newer
Azure Kubernetes Service (AKS) RDMA-capable ND-series NVIDIA SKUs (the r marker): A100, H100, H200; GB200 and GB300 rack-scale with extra qualification. Fully qualified: Standard_ND96isr_H100_v5 Not stated Kubernetes 1.34 with resource.k8s.io/v1 DRA; Ubuntu 24.04 node image AKSUbuntu-2404gen2containerd-202608.14.0 or later; DRANET v1.3.0; IPC_LOCK; two GPU nodes; run the RDMA, NCCL and NIXL qualification gates per SKU and node image
CoreWeave (CKS) GPU nodes on InfiniBand Not stated RDMA through a device plugin that advertises rdma/ib; the default StorageClass must support ReadWriteMany, because /var/cache/huggingface is a 15 GB ramdisk and the guides cache weights on an RWX PVC (model-pvc); pre-populate it to avoid download races
DigitalOcean (DOKS) NVIDIA H100, RTX 6000 Ada, RTX 4000 Ada, L40S Istio (its troubleshooting section checks Istio) DOKS 1.33.1-do.3; VPC-native networking (required); at least 2 GPU nodes; nvidia.com/gpu toleration; drivers managed by DigitalOcean
OpenShift NVIDIA GPUs through the NFD and NVIDIA GPU Operators No OpenShift Service Mesh or Istio may already be installed: their CRDs can conflict with the llm-d gateway component OpenShift 4.19, 4.20 or 4.21; cluster administrator rights; tolerations for GPU node taints; oc in place of kubectl
OpenShift on AWS (ROSA) NVIDIA GPU instance types added as a machineset Not stated A ROSA cluster; the NFD and NVIDIA GPU Operators; the page points to Red Hat, AWS and NVIDIA documentation for each step
Minikube NVIDIA GPUs; the example is an EC2 g6e.12xlarge (4 L40S, 2 used) serving meta-llama/Llama-3.2-3B-Instruct Not stated A working NVIDIA container toolkit; the page's install section reads "TBD"
No Kubernetes Any; runs on Slurm, LSF, Ray, bare metal or a workstation No Gateway: Envoy as a host process calls the EPP over ext_proc The EPP reads endpoints from a YAML file (file-discovery plugin, hot-reloaded); InferenceObjective flow control, InferenceModelRewrite and PodMonitor discovery are out of scope

The gateways llm-d supports on Kubernetes, from its gateway guides: Istio, GKE Gateway, Agentgateway, Envoy AI Gateway and NGINX Gateway Fabric, or any implementation of the Gateway API Inference Extension. Standalone mode runs the proxy as a sidecar in the EPP pod instead (llm-d API reference).

RDMA and KV transfer notes

GPU P/D disaggregation and wide expert parallelism in llm-d move data with NIXL, which needs RDMA to be fast. The TPU paths move KV with TPU Sync over ICI inside a slice and DCN between slices instead (chapter 20), so this section matters only if you compare against a GPU deployment.

Environment NIXL backend llm-d recommends Why
On-premise InfiniBand or RoCE UCX Mature on HPC fabrics with dedicated paths
Cloud with RoCE (GKE, Azure and others) UCCL Software packet spraying avoids single-path congestion on a shared fabric
GKE with GPUDirect TCP-X UCCL Native support for Google's GPU-initiated TCP transport
AWS with EFA libfabric or UCCL EFA needs OFI/libfabric; UCX does not support EFA
TCP only (XPU, CPU) UCX or UCCL Simplest configuration without RDMA

Platform notes from the same page: on GKE, multi-NIC annotations, set_nccl_env.sh from /usr/local/gib/scripts/, NVSHMEM_DISABLE_GDRCOPY=1, pod affinity on cloud.google.com/gce-topology-block, and privileged: true for GPU-initiated RDMA; on OpenShift, Multus CNI secondary networks and rdma/roce_gdr resources; the AWS EFA notes are marked deprecated in favour of upstream AWS images.

Adding a provider

llm-d asks a new provider for documentation that configures one or more well-lit path guides, the provider-specific configuration in the guides, an automated test environment, and at least one named maintainer in the #sig-installation Slack channel.

See also

  • llm-d quickstart on GKE TPU: the TPU provider in use, with a first router and vLLM-TorchTPU pool on v6e or TPU7x behind a GKE Gateway.

References