phison-vllm-stack

by joaquinito2051

Helm chartv0.2.4App 0.32.0Apache-2.0

One model on upstream vLLM (UBI 9 image), served by Red Hat OpenShift AI's KServe as an LLMInferenceService. OpenShift AI provides the router, the scheduler, the Gateway route and authentication; the chart only sets the model, the vLLM image and its resources.

About this chart

phison-vllm-stack

This chart serves one model on upstream vLLM through Red Hat OpenShift AI. It creates one LLMInferenceService (serving.kserve.io/v1alpha2). OpenShift AI's KServe then runs the vLLM pods and adds the rest of the serving path:

  • the router and scheduler (llm-d endpoint picker),
  • the HTTPRoute on the inference Gateway,
  • token authentication (Red Hat Connectivity Link).

The chart only sets the model, the vLLM image, vLLM's arguments and the resources. The router, KV cache and LoRA features come from OpenShift AI; this chart installs none of them.

With the default values, the chart deploys:

  • LLMInferenceService <release>: Qwen/Qwen3-0.6B from Hugging Face on one NVIDIA GPU. The image is quay.io/aidaptiv-mw/vllm:0.32.0-3, upstream vLLM 0.32.0 on UBI 9 (images/vllm-ubi9).
  • For helm test only: a ServiceAccount allowed to get that LLMInferenceService, and a pod on UBI 9 minimal. The pod reads the service's URL from its status and sends one chat completion through the Gateway with the ServiceAccount's token.

Cluster requirements

Supported on Red Hat OpenShift 4.12 to 4.22 (kubeVersion: Helm refuses newer clusters). Tested on 4.22.18 with OpenShift AI 3.5.2.

  • Red Hat OpenShift AI 3.x with a DataScienceCluster where kserve is Managed.

  • The two operators that OpenShift AI requires for LLMInferenceService:

    • cert-manager Operator for Red Hat OpenShift,
    • Red Hat Connectivity Link, with a Kuadrant instance in kuadrant-system.

    The DataScienceCluster condition KserveLLMInferenceServiceDependencies turns True when both are in place.

  • The inference Gateway openshift-ingress/openshift-ai-inference, which the OpenShift AI documentation has you create. To use another Gateway, set router.gatewayRefs.

  • The NVIDIA GPU Operator, with nodes that advertise nvidia.com/gpu.

  • Egress to huggingface.co for hf:// models. On a disconnected cluster, use oci:// (a modelcar image) or pvc://.

Install

helm repo add openshift-helm-charts https://charts.openshift.io/
helm install qwen3 openshift-helm-charts/phison-vllm-stack -n my-models --create-namespace
oc -n my-models get llminferenceservice qwen3 -w        # READY True once the model is loaded
helm test qwen3 -n my-models

When the controllers of OpenShift AI were started before Connectivity Link was installed, the service reports AuthPolicy CRD is not available. Restart llmisvc-controller-manager and odh-model-controller in redhat-ods-applications to clear it.

Values

KeyDefaultMeaning
image.repository / tag / digestquay.io/aidaptiv-mw/vllm / 0.32.0-3 / ""vLLM image; with digest the image is pulled by digest
model.urihf://Qwen/Qwen3-0.6Bhf://, oci:// (modelcar), s3://, pvc://
model.nameQwen/Qwen3-0.6Bserved model name, the model field of requests
replicas1vLLM replicas
vllmArgs[--max-model-len=8192]extra vllm serve arguments (VLLM_ADDITIONAL_ARGS)
env[]extra environment variables of the vLLM container
resources1 GPU, 2–8 CPU, 8–24 GivLLM container resources
nodeSelector, tolerationsemptyvLLM pod placement
annotations{}LLMInferenceService annotations; security.opendatahub.io/enable-auth: "false" turns off token checks
router.gatewayRefs[]Gateways for the route; empty = OpenShift AI's default
test.imageubi9/ubi-minimal by digesthelm test image
test.timeoutSeconds1800how long the test waits for an answer, model download included

Calling the model

The URL is in the service's status:

URL=$(oc -n my-models get llminferenceservice qwen3 -o jsonpath='{.status.url}')
curl -H "Authorization: Bearer $(oc whoami -t)" -H 'Content-Type: application/json' "$URL/v1/chat/completions" \
  -d '{"model": "Qwen/Qwen3-0.6B", "messages": [{"role": "user", "content": "Hello"}]}'

The Gateway allows a token when its user or ServiceAccount can get the LLMInferenceService.

Deploy phison-vllm-stack with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has phison-vllm-stack on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartphison-vllm-stack is pinned at v0.2.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply