GPU and AI platforms

Model serving on Kubernetes: a per-endpoint node-loss decision record for GPU inference

A guide to deciding, per inference endpoint, whether to retry elsewhere, serve a smaller model, or fail fast when a GPU node disappears. Classify endpoints by vLLM topology and GPU sharing mode, then run a controlled staging node-loss test.

Atom XII ·

A packed auditorium during a technology keynote

The short answer

When a GPU node disappears mid-request, none of the vendor documentation here tells you what happens to the in-flight request. What the documentation does establish is that endpoints differ in serving topology and GPU isolation, and those differences should drive a written, per-endpoint decision. The work is to classify each endpoint, record the allowed outcome in advance, and test node loss in staging rather than infer it.

Classify each endpoint by serving topology

The endpoint owner classifies each endpoint using the vLLM parallelism documentation. The guidelines are: if the model fits on a single GPU, run inference on that GPU and distributed inference is probably unnecessary. If the model is too large for one GPU but fits on one node, use tensor parallelism, for example tensor_parallel_size=4 on a node with 4 GPUs. If the model is too large for one node, combine tensor parallelism with pipeline parallelism: set tensor_parallel_size to the number of GPUs per node and pipeline_parallel_size to the number of nodes, for example tensor_parallel_size=8 and pipeline_parallel_size=2 on 2 nodes with 8 GPUs each.

Two edge cases change the classification. If the model fits within a single node but the GPU count does not evenly divide the model size, the vLLM documentation says to enable pipeline parallelism with tensor_parallel_size=1 and pipeline_parallel_size set to the number of GPUs. And if the node's GPUs lack NVLINK interconnect, such as L40S, the documentation says to leverage pipeline parallelism instead of tensor parallelism for higher throughput and lower communication overhead.

Record the distributed runtime too. The vLLM documentation states the defaults are Ray for multi-node inference and native Python multiprocessing for single-node inference, overridable with distributed_executor_backend in the LLM class or --distributed-executor-backend on the API server, using mp or ray. For multi-node serving, the documentation requires every node to provide an identical execution environment, including the model path and Python packages, and recommends container images to keep environments consistent. Evidence for this step: the recorded flags plus the vLLM startup log lines the documentation points to, which report GPU KV cache size and the maximum concurrency estimate.

Record the GPU sharing mode

The platform team records how each endpoint's GPUs are shared, because the isolation properties differ and that is a material input to any node-loss decision; this is our inference from the two NVIDIA documents, not a stated conclusion. The NVIDIA MIG User Guide states that MIG partitions supported GPUs into multiple isolated instances, each with dedicated compute and memory resources, and that MIG enables efficient GPU utilization across multiple users or workloads with guaranteed performance.

The NVIDIA GPU Operator time-slicing documentation states the opposite trade-off: unlike MIG, there is no memory or fault isolation between time-sliced replicas. A request for more than one time-sliced GPU does not guarantee the pod receives a proportional amount of GPU compute power; it only specifies access to a GPU shared by other pods. Each pod can run as many processes on the underlying GPU without a limit, and the GPU provides an equal share of time to all GPU processes across all pods. Time-slicing can also be combined with MIG to provide shared access to MIG instances, and it works on older GPUs that do not support MIG.

One evidence limitation belongs in the record. The time-slicing documentation states that DCGM-Exporter does not support associating metrics to containers when GPU time-slicing is enabled with the NVIDIA Kubernetes Device Plugin. If your endpoints use time-slicing, per-container GPU metrics may not be available during a node-loss test, so plan what you can actually observe. The documentation also notes node labels applied after time-slicing is configured, such as nvidia.com/gpu.replicas and a product label with a -SHARED suffix, for example nvidia.com/gpu.product = A100-SXM4-40GB-SHARED on a DGX A100. These labels let you select shared versus exclusive GPU nodes.

Write the allowed outcome before testing

This step is a proposed operating practice, not something the sources describe. For each inference endpoint, the endpoint owner writes a short record before any test: the endpoint's topology (tensor_parallel_size, pipeline_parallel_size, distributed runtime), its GPU sharing mode (exclusive, MIG, time-sliced, or MIG plus time-slicing), and the allowed outcome on node loss. The outcome is one of three: retry the request on another replica, serve a smaller model, or fail fast. Each outcome needs a stated trigger condition, for example which node in a pipeline-parallel deployment counts as lost, and what the client should see.

The reason to write this first is that the documents establish topology and isolation differences but do not establish that a request will be retried, degraded, or failed when a node disappears. Writing the allowed outcome turns an unknown into a testable assertion.

Run a controlled node-loss test in staging

This is also a proposed step. The platform team and endpoint owner run the test together in staging, one endpoint topology at a time: remove or power off a GPU node while requests are in flight, and record whether each request was retried elsewhere, served by a smaller model, or failed. Record the observed per-container metric availability as well, since the DCGM-Exporter limitation above may constrain what you can collect on time-sliced endpoints. Do not infer the outcome from the sharing mode alone; the point of the test is to replace inference with observation.

What the GPU Operator install contributes

The cluster admin owns the install and its prerequisites. The NVIDIA GPU Operator installation documentation states that a default installation deploys the NVIDIA GPU driver, NVIDIA Container Toolkit, NVIDIA Device Plugin, DCGM Exporter, and MIG Manager as pods on every GPU worker node. The current patch release of that documentation version is v26.7.3.

Two prerequisites change the plan. If you use ClusterPolicy for driver configuration, all worker nodes or node groups running GPU workloads must run the same operating system version to use the NVIDIA GPU Driver container; if you pre-install the driver on the nodes, you can run different operating systems. Nodes need a container engine such as CRI-O or containerd. If the cluster uses Pod Security Admission, label the operator namespace privileged: kubectl label --overwrite ns gpu-operator pod-security.kubernetes.io/enforce=privileged.

Node Feature Discovery is a dependency the Operator deploys by default. If NFD already runs in the cluster, disable deploying it at install time; the documentation suggests checking for an NFD label on nodes with kubectl and jq, looking for labels starting with feature.node.kubernetes.io. Install with Helm, for example: helm install --wait gpu-operator -n gpu-operator --create-namespace oci://nvcr.io/nvidia/cloud-native-charts/gpu-operator --version=v26.7.3, or from the classic NVIDIA Helm repository with nvidia/gpu-operator. The documentation also shows verifying the chart signature with Cosign before an OCI install. Verification evidence: after Helm completes, confirm all GPU Operator pods are running with kubectl get pods -n gpu-operator before running workloads.

When the recommendation changes

The decision record changes shape under specific conditions. Multi-node endpoints carry the vLLM requirement of identical execution environments on every node, so a node-loss test there must also verify environment consistency, not just request fate. GPUs without NVLINK push the topology toward pipeline parallelism, which changes which node loss matters. Older GPUs without MIG support leave time-slicing as the sharing option, with its documented lack of memory and fault isolation and its metric limitation. If NFD already runs in the cluster, the install flags change. And if your time-sliced endpoints need per-container GPU metrics for the test, the DCGM-Exporter limitation means you should plan alternate evidence, such as request-level outcomes, before the test rather than after.

Checklist

  • Record tensor_parallel_size, pipeline_parallel_size and the distributed runtime for every endpoint
  • Record the GPU sharing mode per endpoint: exclusive, MIG, time-sliced, or MIG plus time-slicing
  • Write the allowed outcome and its trigger condition before any test
  • Confirm whether per-container GPU metrics are available, given the DCGM-Exporter time-slicing limitation
  • Verify GPU Operator pods are running with kubectl get pods -n gpu-operator before testing
  • Remove a GPU node in staging per topology and record retried, degraded, or failed for in-flight requests

Questions

Does MIG or time-slicing tell me what happens to a request when a node dies?

No. The NVIDIA documents describe isolation properties and configuration, not failure behavior. The vLLM document gives topology guidance, not failure semantics. Test node loss in staging and record the result.

Which vLLM settings belong in the record?

tensor_parallel_size and pipeline_parallel_size, plus the distributed runtime. The defaults are Ray for multi-node and native Python multiprocessing for single-node, overridable with distributed_executor_backend or --distributed-executor-backend set to mp or ray.

Sources

  1. Parallelism and Scaling - vLLM documentation
  2. Time-Slicing GPUs in Kubernetes - NVIDIA GPU Operator
  3. NVIDIA Multi-Instance GPU User Guide
  4. Installing the NVIDIA GPU Operator