Skip to content

Commit 921815c

Browse files
committed
Add api.extraEnv config option for setting vLLM env vars
1 parent a580b2c commit 921815c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

charts/azimuth-llm/templates/api/deployment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ spec:
5555
env:
5656
- name: DO_NOT_TRACK
5757
value: "1"
58+
{{- with .Values.api.extraEnv -}}
59+
{{- . | toYaml | nindent 8 }}
60+
{{- end -}}
5861
{{- if .Values.huggingface.token }}
5962
- name: HUGGING_FACE_HUB_TOKEN
6063
value: {{ quote .Values.huggingface.token }}

charts/azimuth-llm/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ api:
9999
# Extra args to supply to the vLLM backend, see
100100
# https://docs.vllm.ai/en/stable/serving/openai_compatible_server.html#command-line-arguments-for-the-server
101101
extraArgs: []
102+
# Extra env vars to provide to the vLLM pods
103+
# Each env var should be formatted as
104+
# - name: FOO
105+
# value: "bar"
106+
extraEnv:
107+
- name: FOO
108+
value: "bar"
102109
# Pod node selector labels
103110
nodeSelector: {}
104111
# Pod tolerations

0 commit comments

Comments
 (0)