App service

vLLM service

vLLM inference service for serving language models through an OpenAI-compatible API on existing GPU-ready Kubernetes infrastructure.

Use it as a reusable, versioned service inside custom or predefined stacks so teams can keep the runtime and operational model consistent.

On Wodby

How vLLM runs on Wodby

What Wodby sets up for vLLM on this service. It runs the official vllm/vllm-openai image, which serves one Hugging Face model through an OpenAI-compatible API on port 8000.

Access

  • Other services in the environment reach the API at http://<vLLM service name>:8000/v1.
  • The service token api_key is passed as VLLM_API_KEY. Clients send it as a Bearer token. It protects the /v1 routes; /health, /metrics and some other routes answer without it, so the service is meant to stay on a private network.
  • Clients name the model by the "API model name" setting, not by the Hugging Face repository name.

Settings

The model is chosen with settings on the service. They become LLM_* variables that the manifest passes to vLLM as command arguments; they are not variables vLLM reads by itself, so setting them has an effect only through these settings.

SettingVariableArgument
Hugging Face modelLLM_MODEL_IDmodel
Model revisionLLM_MODEL_REVISION--revision
API model nameLLM_SERVED_MODEL--served-model-name
Maximum context lengthLLM_MAX_MODEL_LEN--max-model-len
GPUs used by each replicaLLM_TENSOR_PARALLEL_SIZE--tensor-parallel-size
Fraction of GPU memory used by vLLMLLM_GPU_MEMORY_UTILIZATION--gpu-memory-utilization
Hugging Face token (optional, secret)HF_TOKENread by the model download

The model and its revision are changed together. The GPU count of the container must equal "GPUs used by each replica". Generation defaults are vLLM's own (--generation-config vllm), not the model repository's.

Resources and updates

  • Each replica requests one nvidia.com/gpu by default and runs only on Linux amd64 nodes.
  • An update stops a replica before it starts the replacement, so that no extra GPU is needed. A single replica is unavailable during an update.
  • Startup, which includes the model download, may take up to 29 minutes before the pod is considered failed.

Data

Model files are downloaded into a cache at /cache (HF_HOME, VLLM_CACHE_ROOT). By default it is per-pod and limited to 20 GiB: it survives a container restart, is lost when the pod is replaced, and every replica downloads its own copy. The optional model-cache volume makes /cache persistent, so the model is not downloaded again after a pod is replaced; its claim attaches to one node, so it suits a single replica.

Check the result

  • /health on port 8000 answers when the model is loaded.
  • /v1/models with the Bearer token lists the served model name.

Overview

Technical profile and packaging

This page shows how vLLM is packaged and versioned as a Wodby service, what it exposes at runtime, and which source artifacts it builds on.

Service type

App service

Versions

0.29

Ports and protocols

8000/HTTP

Labels

vllm, inference, openai-compatible

Persistent volumes

Model cache

Stacks

Use it inside ready-made stacks or your own

These public stacks already include vLLM as part of their default service model. You can start there and customize the stack, or compose your own stack around the same building block.

Runtime wiring

Reuse connectivity, storage, and runtime defaults

This service can expose ports, connect to other services, attach persistent storage, and define runtime defaults that become reusable inside stacks rather than being rebuilt case by case.

Endpoints

8000/HTTP

Technical domains

HTTP endpoints from this service can use technical domains with auto-renewed TLS certificates on Wodby.

Volumes

Model cache

Settings

7 settings can be overridden per environment.