Skip to content

Commit a68b2df

Browse files
committed
fix(openshift): add missing vLLM model PVCs to deployment script
Add PersistentVolumeClaim creation for vllm-model-a-cache and vllm-model-b-cache to ensure all required storage is provisioned during automated deployment. This fixes pods being stuck in Pending state when running the deploy-to-openshift.sh script. Changes: - Add vllm-model-a-cache PVC (10Gi) - Add vllm-model-b-cache PVC (10Gi) - Ensures full automation without manual PVC creation Signed-off-by: szedan <[email protected]>
1 parent a28833a commit a68b2df

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

deploy/openshift/deploy-to-openshift.sh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,36 @@ spec:
103103
requests:
104104
storage: 20Gi
105105
storageClassName: gp3-csi
106+
---
107+
apiVersion: v1
108+
kind: PersistentVolumeClaim
109+
metadata:
110+
name: vllm-model-a-cache
111+
labels:
112+
app: vllm-model
113+
model: model-a
114+
spec:
115+
accessModes:
116+
- ReadWriteOnce
117+
resources:
118+
requests:
119+
storage: 10Gi
120+
storageClassName: gp3-csi
121+
---
122+
apiVersion: v1
123+
kind: PersistentVolumeClaim
124+
metadata:
125+
name: vllm-model-b-cache
126+
labels:
127+
app: vllm-model
128+
model: model-b
129+
spec:
130+
accessModes:
131+
- ReadWriteOnce
132+
resources:
133+
requests:
134+
storage: 10Gi
135+
storageClassName: gp3-csi
106136
EOF
107137
success "PVCs created"
108138

0 commit comments

Comments
 (0)