Chart vllm
Configure GPU scheduling, model storage, and serving arguments in your values file.
helm repo add danchev https://danchev.github.io/helm-charts
helm repo update danchev
helm install vllm danchev/vllm --version 0.1.0 -f my-values.yaml
Chart 0.1.0 scopes Deployment, Service, and PodDisruptionBudget selectors to the Helm release.
Deployment selectors are immutable. Recreate the existing Deployment before upgrading; this causes downtime but preserves the PVC. Replace the release name and namespace in these commands with your installation’s values:
kubectl delete deployment my-release-deployment-vllm -n my-namespace
helm upgrade my-release danchev/vllm --version 0.1.0 -n my-namespace -f my-values.yaml
The default image is pinned to vllm/vllm-openai:v0.31.0 (CUDA 13.0).
GPU nodes must have compatible NVIDIA drivers. For the CUDA 12.9 build, set
image.tag: v0.31.0-cu129. Review the upstream release notes
before changing custom serving arguments or upgrading deployed workloads.
| Key | Type | Default | Description |
|---|---|---|---|
| autoscaling | object | {"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80} |
Autoscaling configuration |
| autoscaling.enabled | bool | false |
Enable autoscaling |
| autoscaling.maxReplicas | int | 100 |
Maximum replicas |
| autoscaling.minReplicas | int | 1 |
Minimum replicas |
| autoscaling.targetCPUUtilizationPercentage | int | 80 |
Target CPU utilization for autoscaling |
| configs | object | {} |
Configmap |
| containerPort | int | 8000 |
Container port |
| customObjects | list | [] |
Custom Objects configuration |
| deploymentStrategy | object | {} |
Deployment strategy configuration |
| externalConfigs | list | [] |
External configuration |
| extraContainers | list | [] |
Additional containers configuration |
| extraInit | object | {"awsEc2MetadataDisabled":true,"pvcStorage":"1Gi","s3modelpath":"relative_s3_model_path/opt-125m"} |
Additional configuration for the init container |
| extraInit.pvcStorage | string | "1Gi" |
Storage size of the s3 |
| extraInit.s3modelpath | string | "relative_s3_model_path/opt-125m" |
Path of the model on the s3 which hosts model weights and config files |
| extraPorts | list | [] |
Additional ports configuration |
| gpuModels | list | ["TYPE_GPU_USED"] |
Type of gpu used |
| image | object | {"command":["vllm","serve","/data/","--served-model-name","opt-125m","--dtype","float32","--block-size","16","--host","0.0.0.0","--port","8000"],"repository":"vllm/vllm-openai","tag":"v0.31.0"} |
Image configuration |
| image.command | list | ["vllm","serve","/data/","--served-model-name","opt-125m","--dtype","float32","--block-size","16","--host","0.0.0.0","--port","8000"] |
Container launch command |
| image.repository | string | "vllm/vllm-openai" |
Image repository |
| image.tag | string | "v0.31.0" |
Image tag |
| labels.environment | string | "test" |
|
| labels.release | string | "test" |
|
| livenessProbe | object | {"failureThreshold":5,"httpGet":{"path":"/health","port":8000},"initialDelaySeconds":15,"periodSeconds":10} |
Liveness probe configuration |
| livenessProbe.failureThreshold | int | 5 |
Number of times after which if a probe fails in a row, Kubernetes considers that the overall check has failed: the container is not alive |
| livenessProbe.httpGet | object | {"path":"/health","port":8000} |
Configuration of the Kubelet http request on the server |
| livenessProbe.httpGet.path | string | "/health" |
Path to access on the HTTP server |
| livenessProbe.httpGet.port | int | 8000 |
Name or number of the port to access on the container, on which the server is listening |
| livenessProbe.initialDelaySeconds | int | 15 |
Number of seconds after the container has started before liveness probe is initiated |
| livenessProbe.periodSeconds | int | 10 |
How often (in seconds) to perform the liveness probe |
| maxUnavailablePodDisruptionBudget | string or int | "" |
Disruption Budget Configuration |
| readinessProbe | object | {"failureThreshold":5,"httpGet":{"path":"/health","port":8000},"initialDelaySeconds":5,"periodSeconds":5} |
Readiness probe configuration |
| readinessProbe.failureThreshold | int | 5 |
Number of times after which if a probe fails in a row, Kubernetes considers that the overall check has failed: the container is not ready |
| readinessProbe.httpGet | object | {"path":"/health","port":8000} |
Configuration of the Kubelet http request on the server |
| readinessProbe.httpGet.path | string | "/health" |
Path to access on the HTTP server |
| readinessProbe.httpGet.port | int | 8000 |
Name or number of the port to access on the container, on which the server is listening |
| readinessProbe.initialDelaySeconds | int | 5 |
Number of seconds after the container has started before readiness probe is initiated |
| readinessProbe.periodSeconds | int | 5 |
How often (in seconds) to perform the readiness probe |
| replicaCount | int | 1 |
Number of replicas |
| resources | object | {"limits":{"cpu":4,"memory":"16Gi","nvidia.com/gpu":1},"requests":{"cpu":4,"memory":"16Gi","nvidia.com/gpu":1}} |
Resource configuration |
| resources.limits.”nvidia.com/gpu” | int | 1 |
Number of gpus used |
| resources.limits.cpu | int | 4 |
Number of CPUs |
| resources.limits.memory | string | "16Gi" |
CPU memory configuration |
| resources.requests.”nvidia.com/gpu” | int | 1 |
Number of gpus used |
| resources.requests.cpu | int | 4 |
Number of CPUs |
| resources.requests.memory | string | "16Gi" |
CPU memory configuration |
| secrets | object | {} |
Secrets configuration |
| serviceName | string | nil |
Service name |
| servicePort | int | 80 |
Service port |