Skip to content

Commit dfe0551

Browse files
[Bugfix] to shared storage not working with dynamic PV provisioning (#933)
* helm(shared-storage): only create PV when hostPath/NFS provided and no storageClass; set PVC.volumeName then Signed-off-by: Niccolo Tosato <niccolo.tosato@yahoo.it> * helm(config): set HF_HOME to shared mount when sharedPvcStorage.enabled Signed-off-by: Niccolo Tosato <niccolo.tosato@yahoo.it> * Remove fix from raycluster Signed-off-by: Niccolo Tosato <niccolo.tosato@yahoo.it> * Fix discussion Signed-off-by: Niccolo Tosato <niccolo.tosato@yahoo.it> --------- Signed-off-by: Niccolo Tosato <niccolo.tosato@yahoo.it> Co-authored-by: Rui Zhang <51696593+ruizhang0101@users.noreply.github.com>
1 parent 67307bd commit dfe0551

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

helm/templates/deployment-vllm-multi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,9 @@ spec:
214214
- name: PYTHONHASHSEED
215215
value: "123"
216216
- name: HF_HOME
217-
{{- if hasKey $modelSpec "pvcStorage" }}
217+
{{- if .Values.sharedPvcStorage.enabled }}
218+
value: /data/shared-pvc-storage
219+
{{- else if hasKey $modelSpec "pvcStorage" }}
218220
value: /data
219221
{{- else }}
220222
value: /tmp

0 commit comments

Comments
 (0)