vLLM health checks and Kubernetes probes

How to configure liveness, readiness and startup probes for self-hosted vLLM, why /health can stay green while the engine is stuck, and what to alert on beyond the probe.

On this page

Why vLLM health checks need more than a single /health probe

A default HTTP probe on /health confirms that the vLLM API server process answers requests. It does not confirm that the engine can generate tokens. A platform team running vLLM on GPUs needs to know that difference before it trusts a green pod. Model weights are large, loading takes time, and the server sits behind Kubernetes probes that restart containers when they fail. If the probe only checks that the HTTP layer responds, a pod can look healthy while its engine is stuck, and the orchestrator will not act on it.

The server exposes more signal than the probe uses. The OpenAI-compatible endpoints under /v1 do real inference work, so a request to them shows whether the engine is producing output. Prometheus-format metrics at /metrics report request counts, token throughput, latency histograms and KV cache use, which show whether the engine is moving work through. Confirm on your build which of these change during a stall, and note that /metrics and /health sit outside the --api-key protection, so they must be reached only from inside your cluster network. The vLLM production metrics documentation describes the metric families for your version.

A single liveness probe on /health is a reasonable starting point for a small test deployment. Teams need a probe strategy beyond it once models take minutes to load, once the service backs production traffic, or once an outage would be costly to detect late. At that point, plan separate startup, readiness and liveness behavior, decide which signal proves the engine can generate, and set alerts on throughput and latency rather than on the probe alone. Test each choice against a deliberately overloaded or stalled instance before you rely on it.

Which probe and signal fits each vLLM failure mode

This table compares startup, readiness and liveness probes, the /health endpoint, /metrics-based alerts and synthetic generation checks against the failures a vLLM pod can show. Read each row as a question: which signal would have caught this failure, and which would have stayed green. Probe timeouts and thresholds are values to set and test in your own cluster, not figures taken from the vLLM documentation.

SignalWhat it provesWhat it missesTypical use
Startup probeThe process has reached the point where the API server is listening, within the window you allowAnything after startup, including later hangs, OOM under load or a stalled engineHolds liveness checks back while weights load; set the window to cover your slowest measured model load
Readiness probe on /healthThe HTTP server responds and the endpoint returns a healthy statusWhether the engine is actually scheduling and generating tokens; a hung engine can still report healthyRemoving a pod from Service endpoints during load or restarts; it does not prove the model answers
Liveness probe on /healthThe API process is responding to HTTP at the moment of the checkEngine hangs such as the oversized min_tokens case in GHSA-4xqp-c3mv-qff7, where health stayed healthyRestarting a container that has stopped serving HTTP entirely; use with care, since restarts reload weights
/metrics alerts (Prometheus)Request counts, token throughput, latency histograms and KV cache use over time, per podWhether a single request right now succeeds; alerts lag and depend on traffic being presentAlerting on flat token throughput with queued requests, rising latency or sustained KV cache pressure
Synthetic generation checkA real small completion through /v1 returns text within your chosen time limitCoverage beyond the prompt tested; it adds load and needs a credential that is not publicConfirming end-to-end serving after upgrades, model changes or suspected engine hangs
Gateway or external monitorUsers can reach the endpoint through the path they use, with the authentication in placeInternal engine state; it cannot see which pod or GPU is stuckMeasuring availability from outside the cluster, confirming the reverse proxy allowlist still holds

Setting up vLLM Kubernetes probes step by step

This sequence takes a team from a pinned vLLM image to probes that match measured model load time, separate liveness from readiness, expose metrics for alerting, and are proven to behave correctly under a slow load and a stalled engine.

  1. Pin the image and vLLM version

    Record the exact vLLM image tag or wheel version the deployment will run, and check it against the vLLM GitHub releases page and the release notes for the version you chose. Confirm the CUDA and driver combination the image was built for matches the GPU nodes in your cluster, and note the version in the deployment manifest as a label so later upgrades can be traced. Releases ship roughly every two weeks, so the pinned version may change often, and probe behavior can shift between releases. Done when the manifest references a fixed tag rather than latest and the node driver version is written next to it.

  2. Measure cold model load time on target hardware

    Run the chosen image on a node with the same GPU model, storage class and network path that production will use, with the same model, tensor parallel size and flags. Start the server from an empty weight cache, time the interval from container start to the first successful request on /health and a short chat or completion call, then repeat with a warm cache. Record both numbers, the GPU model, and where the weights were read from, because a network filesystem or object download can dominate the result. Done when you have a measured cold start and warm start time for each model and node type, not an estimate from a vendor page.

  3. Configure the startup probe to cover the cold load

    Add a startupProbe that targets /health on the vLLM port and sets failureThreshold and periodSeconds so the total allowed window exceeds the slowest cold load you measured, with margin for a slower node or a cache miss. While the startup probe is active, liveness and readiness probes do not run, so a long load will not trigger a restart. Keep the window tied to the measured number and write the calculation into a comment beside the probe. Done when a fresh pod on a cold cache reaches the ready state without a restart loop, and the pod events show no startup probe failures in that run.

  4. Add readiness and liveness probes with separate roles

    Configure a readinessProbe that removes the pod from Service endpoints when the engine cannot take traffic, and a livenessProbe that restarts the container only after sustained failure. Set a longer period and higher failure threshold on liveness than on readiness, and avoid a liveness check that runs a full model generation on every interval, since that adds load and can cause restarts during busy periods. Confirm with your team which endpoint each probe uses, because /health reports the server process state and does not prove a request will complete. Done when kubectl describe on a running pod shows both probes with the intended thresholds and the pod stays ready under normal traffic.

  5. Expose metrics to Prometheus

    Enable a ServiceMonitor or scrape job that reads the Prometheus-format data at /metrics on the vLLM API server, and confirm the metric families for request counts, token throughput, latency histograms and KV cache usage appear in Prometheus. Keep /metrics off any public route, because the vLLM security documentation lists it among endpoints the --api-key option does not protect, so the scrape path must stay on the cluster network. If you change histogram buckets, record the change so dashboards and alerts are read against the right bucket boundaries. Done when a Prometheus query returns a recent sample for a vLLM request counter for each replica.

  6. Simulate a slow model load

    In a non-production namespace, point the deployment at a model path that is slow to read, for example through a rate-limited network mount or a throttled download in a test environment, and watch the pod through the startup phase. Confirm the startup probe holds the pod out of liveness restarts for the full expected load, then confirm the pod becomes ready once /health succeeds. Then reduce the startup window below the measured load and confirm the pod restarts, which proves the window is the control that matters. Done when you have both a passing run and a deliberate failing run with the pod events saved as evidence.

  7. Simulate a stalled engine and alert beyond the probe

    Reproduce a stall in a test environment, such as a request with an unusually large generation setting, and confirm whether /health still reports healthy while generation does not complete. A published advisory (GHSA-4xqp-c3mv-qff7, October 6, 2026) describes this pattern, so check the vLLM security advisories for the version you run before testing. Then add an alert on request latency or the absence of completed requests in the metrics, and confirm it fires during the stall and resolves afterward. Done when a stalled test produces an alert from metrics while the liveness probe alone did not restart the pod, and the alert runbook names who acts on it.

How probes, the API server, the engine and alerts fit together

The diagram starts with the kubelet, which sends startup, readiness and liveness probes to the vLLM API server. The server hands requests to the engine and GPU workers behind it, so a probe that only reaches the server can pass while the engine is stuck. Prometheus scrapes /metrics on the same server, and alerts from those metrics reach on-call. The shaded boundary marks where /health and /metrics stay reachable and where the --api-key option does not protect them, so check who can reach that network path.

Probe, scrape and alert paths into the vLLM server and its engine.

Why an engine can hang while /health still reports healthy

A vLLM server has two layers that a probe can reach: the HTTP API layer that accepts requests, and the engine loop that schedules batches and runs the model on the GPU. A /health check answers from the API layer. If the API process is responsive, the check passes, even when the engine loop has stopped making progress. The documented example is advisory GHSA-4xqp-c3mv-qff7, published on October 6, 2026, which describes an oversized min_tokens value that hung the engine while the health endpoint still reported healthy. A probe that only asks whether the server answers would have kept routing traffic to that pod and never restarted it. Before you finalize probe settings, open the advisory in the vLLM security advisories and confirm which releases contain the fix, the affected versions in your fleet, and whether your deployment exposes the request parameter the advisory describes.

Upgrading to a fixed release is the first action. Confirm the exact version your image or wheel runs, compare it with the fixed release named in the advisory, and plan the rollout through your normal upgrade process, since vLLM ships new minor releases about every two weeks. Upgrading does not replace detection. Future engine stalls, whether from this bug class, a driver fault or a stuck collective in a multi-GPU run, will look the same to an HTTP check. A synthetic generation probe closes that gap. It sends a small, fixed request, such as a one-token completion against the served model with a short timeout, and treats a missing or late response as a failure. Because it passes through the scheduler and the model, it exercises the path that actually hung. Keep its prompt and limits fixed, and make sure it cannot be used by tenants through the public endpoint, since the security docs note that /health and /metrics are not covered by --api-key.

The probe should be a deliberate design choice, not a default. Use the liveness probe for process-level failure, keep the readiness probe for routing decisions, and run the generation check with a timeout longer than normal latency but short enough to catch a hang. Restarting a pod reloads the model, so a generation probe that fires during slow loading will cause restart loops, which is why the startup probe comes first. Measure the probe's own cost on your hardware and confirm with your platform team that it does not compete with user traffic for batch slots. Finally, treat a probe failure as a signal to alert on, not just a restart: track probe failures and request latency from the vLLM metrics so that a stalled engine shows up in dashboards even when the orchestrator recovers the pod.

Securing the health and metrics endpoints

The endpoints that keep a vLLM pod in rotation are also the ones that reveal its state and let operators change it. The cards below cover what those endpoints expose, which controls the API key does not reach, and how to keep probe and scrape traffic inside the cluster.

Endpoints the API key does not cover

The --api-key option protects the /v1, /v2, /inference and /cohere paths, but not /health, /metrics, /pause, /resume, /abort_requests or /invocations. A request that reaches any of those paths without a key is not rejected by the key check. Treat each of them as an open interface unless a network or proxy control stops it. Confirm this behavior against the release you run, because the endpoint list can change between versions.

vLLM security docs

Risks of /pause and /resume

Pause and resume are operational controls, not read-only probes. An unauthenticated caller who can reach /pause can stop the engine from serving requests, and /resume can undo an operator's intentional pause during maintenance. Both should be unreachable from user networks and from any pod outside the team that runs the deployment. Include them in your test plan so a reviewer can confirm they fail from outside the allowed network.

Risks of /abort_requests

The abort endpoint cancels in-flight generation. Anyone who can reach it can disrupt active user sessions or cut off long-running batch jobs without touching the model itself. The impact grows with traffic, so test the endpoint against a staging instance under load to see how a forced abort looks to the application and its retry logic. Restrict it to operator tooling or remove it from the path your gateway exposes.

Reverse proxy allowlists

The vLLM docs recommend a reverse proxy that allowlists only the endpoints meant for users. Build the allowlist from the inference paths your applications call, such as /v1/chat/completions, and deny everything else by default. Keep the proxy rules in version control, and test them with requests to each control endpoint from a user network. The allowlist is the control most likely to drift when someone adds a route, so review it whenever the gateway configuration changes.

Keeping probe traffic on the cluster network

Kubernetes probes and the kubelet issue requests to /health from inside the cluster, so the probe path does not need any external route. Use a Service that is not published through an ingress, and apply a NetworkPolicy that permits traffic to the pod port only from the kubelet's node network and the approved gateway. Confirm with your platform team how the kubelet reaches pods in your CNI, because a policy that is too narrow can cause probe failures that look like engine faults.

Restricting who can scrape metrics

The /metrics endpoint exposes request counts, token throughput, latency histograms and KV cache use. These figures reveal traffic patterns and load, which can help an outsider plan abuse. Limit scrapes to the Prometheus server or collector, using a NetworkPolicy and, where your monitoring stack supports it, authenticated scraping at the collector. Document who owns the scrape configuration so that a new dashboard does not add an open route.

vLLM metrics docs

Questions teams ask before configuring vLLM probes

How much effort does a vLLM probe setup take, and what drives it?

The effort depends mostly on how many vLLM deployments you run, how long each one takes to load its model, and how many probe behaviors you need to define. A single deployment with a known model and a stable load time is a small change to its manifest. Effort grows when each model has a different load time, when you run several engines behind one gateway, or when your platform team needs a shared probe standard with documented exceptions. Work that recurs is mainly re-testing probes after each vLLM upgrade and after model changes, since the health endpoint and load behavior can shift between releases. Ask any provider to break the quote into one-time design, per-deployment configuration and ongoing review.

Can our own platform team configure vLLM probes without outside help?

Yes, if your team already operates Kubernetes and Prometheus and can run the model load under realistic conditions. The probe settings themselves are ordinary Kubernetes configuration. The harder parts are measuring real model load times on your hardware, deciding what a hung engine looks like in your metrics, and writing alerts that fire on that condition rather than on the probe alone. Teams without this experience often set a startup probe too short for large models or rely on the health endpoint as proof the engine is serving. An outside partner can help with that design and verification, but the decision about acceptable behavior stays with your operators.

What does the work need from our team?

Plan for four inputs before the work starts:

  • Load measurements: how long each model takes to download, load and warm up on the exact node type and storage you will use.
  • Cluster access: a non-production namespace with GPU nodes, permission to edit deployments, and a way to restart pods under test.
  • Prometheus: a working scrape of the vLLM /metrics endpoint, with access to the rules and alerting setup you already use.
  • Traffic examples: representative requests so probes and alerts can be tested under load, not only at idle.

The vLLM metrics documentation describes the exported series, so confirm which ones your Prometheus version can ingest before you design alerts around them.

How does model loading time change probe design?

Model loading time sets the minimum window the engine needs before it can answer any request, so it determines whether the startup probe is long enough. If the liveness probe runs before loading finishes, Kubernetes can restart the pod in a loop and the model never comes up. Teams usually handle this by giving the startup probe a budget that covers the slowest realistic load, then letting liveness and readiness take over. Load time also varies with weight storage, network filesystem speed, cache state and node memory, so a value measured once on a warm node can be wrong on a cold one. Measure cold and warm starts separately and size the startup budget from the cold case.

Can a correctly configured probe prevent every vLLM hang?

No. A probe only proves that one endpoint answered within a time limit, and the engine can still be unable to complete real inference. A published vLLM advisory (GHSA-4xqp-c3mv-qff7, October 6, 2026) describes an oversized min_tokens value that hung the engine while the health endpoint still reported healthy. Probes catch some failures, such as a process that has exited or a server that has stopped listening. They do not catch every stuck generation, so you also need alerts on request latency, error rates and throughput from /metrics, and a process for applying vLLM security fixes. Ask any provider how they test for this failure mode rather than accepting a probe as full coverage.

Does the probe design affect our security posture?

Yes, in two ways. First, the probe endpoints are reachable by the kubelet and often by monitoring tools, so you should confirm they are not exposed through your gateway. The vLLM security documentation notes that --api-key does not protect /health or /metrics, so network policy and a reverse proxy allowlist remain necessary. Second, adding richer probes or metrics scraping widens what monitoring systems can see, so review what the endpoints reveal before they reach shared dashboards. Your security team should review the final exposure map, not only the probe YAML.

What does this work cost, and what should a quote include?

DeployOpen does not publish a price list, and this page does not give a figure. A quote follows from the written scope, which should state the number of deployments, the models and their measured load times, the monitoring stack, whether alerting rules are included, and what verification is done under load. The vLLM server itself has no paid edition, so the spend comes from accelerator capacity, the surrounding cluster, the implementation and the staff who operate it. Ask for one-time and recurring items to be listed separately, including retesting after vLLM upgrades.

Limits to confirm in your own environment

The vLLM docs and the advisories give a starting point, but probe behavior depends on your exact vLLM version, your accelerators and your storage. Run the checks below in a staging cluster before you copy any probe settings into production, and record the results with the manifests.

Endpoint behavior in your version

Confirm what /health checks in the vLLM release you run, and whether it reflects the engine loop or only the HTTP layer. Send a request, then read the response and timing from /health while the engine is busy. Compare the behavior across two releases, since the minor releases ship about every two weeks and endpoint semantics can change between them. Record the exact version tag next to each probe setting.

Latest release listed
v0.31.0
Online serving docs

Whether a generation probe is safe

A probe that sends a real generation request exercises the engine, but it also consumes GPU memory and batch slots on production hardware. Test a short generation probe on a staging replica under normal and peak concurrency, and measure its latency and the effect on other requests. Confirm that the probe prompt and token limit cannot be inflated by configuration drift. Decide the probe interval only after these measurements.

Model load time against storage

Measure how long your model takes to reach ready state from each storage option you plan to use, such as a local disk, a network filesystem or an object storage download. Load times vary with weight size, disk throughput, shared storage contention and any download step at startup. Set the startup probe budget from the slowest measured path, plus margin for a cold node. Repeat the measurement after a node restart and after a rolling upgrade.

Health reporting in multi-node deployments

In a pipeline or tensor parallel deployment that spans nodes, the API server can report healthy while a worker on another node has failed or stalled. Confirm which process answers the probe and whether a worker failure surfaces through the endpoint, the logs or the metrics. Simulate a worker loss in a test cluster and observe how long it takes for each signal to change. Check the multi-node communication setup in the security docs before relying on any node-to-node health traffic.

Parallelism and scaling docs

Exposure of probe endpoints

The --api-key option does not protect /health or /metrics, so anything that can reach the pod network can call them. Test from a pod outside the serving namespace and from outside the cluster through your ingress. Confirm that your reverse proxy blocks these paths for users while leaving the kubelet probe path reachable. Document the result, since auditors will ask who can read health and metrics data.

vLLM security docs

Hang detection under oversized requests

Advisory GHSA-4xqp-c3mv-qff7, published October 6, 2026, describes an oversized min_tokens value that hangs the engine while /health still reports healthy. Check whether your vLLM version includes the fix, and test a request with an extreme min_tokens value in staging to see how your probes respond. Confirm your alerting detects stalled token output on its own, since the probe alone did not catch it. Review the advisory page for the affected and fixed versions.

vLLM security advisories

Alerting on vLLM metrics beyond the probe

A probe answers one question: is the process accepting HTTP requests on /health. It cannot tell you whether requests are finishing, how long users wait, or whether the KV cache is close to full. Alerting therefore starts from the Prometheus metrics that vLLM exposes at /metrics on its API server, which cover request counts, token throughput, latency histograms and KV cache use. Scrape that endpoint with your existing Prometheus setup, confirm the metric names in your running version against the vLLM production metrics docs, and build alerts on request outcomes and latency percentiles rather than on process liveness alone. A stalled engine with a healthy /health response is exactly the case where a rising queue depth and flat token throughput give the earliest warning.

Thresholds should come from your own baseline, not from a published number. Run the deployment under representative traffic for a period you choose, record p50, p95 and p99 latency, throughput per replica and KV cache utilization by hour and by model, and set warning and critical levels at a margin above normal peaks. Latency histograms only support accurate percentile alerts when their buckets bracket your real response times, and vLLM lets you configure histogram buckets. Tune those buckets before you write latency alerts, because a default bucket layout that places most of your traffic in one interval will make p95 and p99 alerts look flat until they suddenly fire. Ask your engineers to confirm the bucket option and its syntax for the release you run, and to test the new buckets on a staging replica first.

Pair these alerts with a rule for requests that stop completing. Compare the rate of submitted requests with the rate of finished ones over a window you pick, and page when the gap persists while throughput is near zero. Add a KV cache alert that fires before saturation so that on-call staff have time to act, and keep the /metrics path off the public route, since the vLLM security docs do not list it among the endpoints the --api-key option protects. Decide who owns each alert, which runbook step follows it, and how you will review thresholds after each vLLM upgrade.

How DeployOpen works on this

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, including vLLM. For health checks and probes, we start from how your serving engine actually fails, then write probe settings, alerts and runbooks your platform team can own after handover.

How we scope

  • Written scope lists the vLLM version, deployment targets, probe settings and alert channels covered before work starts.
  • We record measured model load times across cold and warm starts so startup probe budgets rest on evidence, not guesses.
  • Scope names which endpoints face users, which stay internal, and which probe paths each workload uses.

How we build

  • We configure startup, readiness and liveness probes in your manifests, with thresholds tested against real model load behavior.
  • We add a probe that sends a real generation request, so a hung engine that still answers /health is detected.
  • We wire Prometheus metrics from /metrics into alert rules for stalled requests, throughput drops and restart loops.

How we hand over

  • You receive version-controlled manifests, alert rules and a runbook describing what each probe failure means and how to respond.
  • Test records show the failure drills we ran, such as a forced engine stall, and their observed results.
  • Knowledge transfer sessions with your platform and on-call engineers cover how to change thresholds safely during upgrades.

How we support

  • Ongoing support and upgrade work on probe configuration is available as a retainer, aligned to vLLM release changes.
  • Retainers can include continuous testing that repeats hang and stall drills after each engine or image upgrade.
  • Support reviews confirm probe behavior still matches the vLLM version and endpoints in production.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.