File tree Expand file tree Collapse file tree 3 files changed +20
-8
lines changed
charts/all/llm-serving-service/templates Expand file tree Collapse file tree 3 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 1212 tolerations :
1313 - effect : NoSchedule
1414 key : odh-notebook
15- operator : Exists
15+ operator : Exists
Original file line number Diff line number Diff line change 1+ kind : PersistentVolumeClaim
2+ apiVersion : v1
3+ metadata :
4+ name : model-pvc
5+ spec :
6+ accessModes :
7+ - ReadWriteOnce
8+ resources :
9+ requests :
10+ storage : 50Gi
11+ volumeMode : Filesystem
Original file line number Diff line number Diff line change 1- ---
21apiVersion : batch/v1
32kind : Job
43metadata :
4645 - vllm.entrypoints.openai.api_server
4746 env:
4847 - name: HF_HOME
49- value: /tmp/hf_home
48+ value: /cache
5049 - name: HF_TOKEN
5150 valueFrom:
5251 secretKeyRef:
@@ -74,12 +73,13 @@ spec:
7473 - autoSelect: true
7574 name: vLLM
7675 volumes:
77- - emptyDir:
76+ - name: shm
77+ emptyDir:
7878 medium: Memory
7979 sizeLimit: 2Gi
80- name: shm
81- - emptyDir: {}
82- name: cache
80+ - name: cache
81+ persistentVolumeClaim:
82+ claimName: model-pvc
8383 EOF
8484 cat << EOF | oc apply -f-
8585 apiVersion: serving.kserve.io/v1beta1
@@ -140,9 +140,10 @@ spec:
140140 echo -n 'openshift-ai initialized';echo
141141 echo -n 'Waiting for dscinitialization/default-dsci to initialize'
142142 echo
143- oc wait --for=jsonpath='{.status.phase}'=Ready --timeout=600s -n redhat-ods-operator dscinitialization/default-dsci
143+ oc wait --for=jsonpath='{.status.phase}'=Ready --timeout=900s -n redhat-ods-operator dscinitialization/default-dsci
144144 sleep 10
145145 echo -n 'dscinitialization/default-dsci initialized';echo
146+ sleep 120
146147 command :
147148 - /bin/bash
148149 image : image-registry.openshift-image-registry.svc:5000/openshift/tools:latest
You can’t perform that action at this time.
0 commit comments