Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ This table documents all available configuration values for the Production Stack
| `servingEngineSpec.modelSpec[].pvcAnnotations` | map | `{}` | (Optional) The annotations to add to the PVC |
| `servingEngineSpec.modelSpec[].extraVolumes` | list | `[]` | (Optional) Additional volumes to add to the pod, in Kubernetes volume format |
| `servingEngineSpec.modelSpec[].extraVolumeMounts` | list | `[]` | (Optional) Additional volume mounts to add to the container, in Kubernetes volumeMount format |
| `servingEngineSpec.modelSpec[].extraContainers` | list | `[]` | (Optional) Additional containers to run alongside the main vLLM container, in Kubernetes container format. Unlike the LoRA sidecar, these are added regardless of `enableLoRA` and support the full container spec (image, args, env, volumeMounts, livenessProbe, resources, etc.) |
| `servingEngineSpec.modelSpec[].serviceAccountName` | string | `""` | (Optional) The name of the service account to use for the deployment |
| `servingEngineSpec.modelSpec[].serviceAnnotations` | map | `{}` | (Optional) Annotations to add to the model's service |
| `servingEngineSpec.modelSpec[].serviceLabels` | map | `{}` | (Optional) Labels to add to the model's service |
| `servingEngineSpec.modelSpec[].priorityClassName` | string | `""` | Priority class name for the deployment |
| `servingEngineSpec.modelSpec[].hf_token` | string/map | - | (Optional) Hugging Face token configuration |
| `servingEngineSpec.modelSpec[].env` | list | - | (Optional) Environment variables for the container |
Expand Down
3 changes: 3 additions & 0 deletions helm/templates/deployment-vllm-multi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,9 @@ spec:
- name: {{ .Release.Name }}-storage
mountPath: /data
{{- end }}
{{- with $modelSpec.extraContainers }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if $modelSpec.imagePullSecret }}
imagePullSecrets:
- name: {{ $modelSpec.imagePullSecret }}
Expand Down
3 changes: 3 additions & 0 deletions helm/templates/service-vllm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ metadata:
labels:
{{- include "chart.engineStandardLabels" (dict "releaseName" $.Release.Name "modelName" $modelSpec.name "chartName" $.Chart.Name) | nindent 4 }}
{{- include "chart.engineLabels" $ | nindent 4 }}
{{- with $modelSpec.serviceLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with $modelSpec.serviceAnnotations }}
annotations:
{{- toYaml . | nindent 4}}
Expand Down
10 changes: 9 additions & 1 deletion helm/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,10 @@
"description": "Reference to an existing Kubernetes Secret from which all key/value pairs will be loaded as environment variables into the container",
"type": "object"
},
"extraContainers": {
"description": "Additional containers to run alongside the main vLLM container, in Kubernetes container format. Unlike the LoRA sidecar (servingEngineSpec.sidecar), these are added regardless of enableLoRA and support the full container spec (image, args, env, volumeMounts, livenessProbe, resources, etc.).",
"type": "array"
},
"extraVolumeMounts": {
"description": "Additional volume mounts to add to the container, in Kubernetes volumeMount format",
"type": "array"
Expand Down Expand Up @@ -1524,6 +1528,10 @@
"description": "The model's service annotations",
"type": "object"
},
"serviceLabels": {
"description": "The model's service labels",
"type": "object"
},
"shmSize": {
"description": "The size of the shared memory",
"type": "string"
Expand Down Expand Up @@ -1843,4 +1851,4 @@
}
}
}
}
}
23 changes: 23 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,27 @@ servingEngineSpec:
extraVolumeMounts: []
# - name: tmp-volume
# mountPath: /tmp
# -- Additional containers to run alongside the main vLLM container, in Kubernetes container format. Unlike the LoRA sidecar (servingEngineSpec.sidecar), these are added regardless of enableLoRA and support the full container spec (image, args, env, volumeMounts, livenessProbe, resources, etc.).
extraContainers: []
# - name: my-sidecar
# image: my-registry/my-sidecar:latest
# args: ["--flag", "value"]
# env:
# - name: MY_ENV_VAR
# value: "my-value"
# volumeMounts:
# - name: tmp-volume
# mountPath: /tmp
# resources:
# requests:
# cpu: "100m"
# memory: "128Mi"
# livenessProbe:
# httpGet:
# path: /healthz
# port: 8080
# initialDelaySeconds: 5
# periodSeconds: 10
# -- The configuration for the init container to be run before the main container.
initContainer:
# -- The name of the init container
Expand Down Expand Up @@ -209,6 +230,8 @@ servingEngineSpec:
shmSize: "20Gi"
# -- The model's service annotations
serviceAnnotations: {}
# -- The model's service labels
serviceLabels: {}
# -- Whether to enable LoRA
enableLoRA: true
# -- KEDA autoscaling configuration for this model deployment. Requires KEDA to be installed in the cluster.
Expand Down