diff --git a/helm/templates/deployment-vllm-multi.yaml b/helm/templates/deployment-vllm-multi.yaml index e145ef98..b454fd75 100644 --- a/helm/templates/deployment-vllm-multi.yaml +++ b/helm/templates/deployment-vllm-multi.yaml @@ -371,7 +371,11 @@ spec: - name: ucx-port containerPort: 9999 {{- include "chart.probes" . | indent 10 }} + {{- if $modelSpec.resources }} + resources: {{ toYaml $modelSpec.resources | nindent 12 }} + {{- else }} resources: {{- include "chart.resources" $modelSpec | nindent 12 }} + {{- end }} {{- if or (hasKey $modelSpec "pvcStorage") (and $modelSpec.vllmConfig (hasKey $modelSpec.vllmConfig "tensorParallelSize")) (hasKey $modelSpec "chatTemplate") (hasKey $modelSpec "extraVolumeMounts") }} volumeMounts: {{- end }}