Skip to content

Commit 8dfadd8

Browse files
committed
pin image version
Signed-off-by: Michael Kalantar <[email protected]>
1 parent 59b329a commit 8dfadd8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tekton-poc/pipeline/experiment-task.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ spec:
140140
echo "🔄 Starting sweep step ..."
141141
142142
- name: prepare-namespace
143-
image: quay.io/openshift/origin-cli:latest
143+
image: quay.io/openshift/origin-cli:4.21
144144
script: |
145145
#!/bin/sh
146146
@@ -155,15 +155,14 @@ spec:
155155
kubectl create namespace ${NAMESPACE} \
156156
--dry-run=client -o yaml | kubectl apply -f -
157157
158-
# HF_TOKEN=$(
159158
HF_TOKEN=$(
160159
kubectl get secret hf-secret \
161160
--namespace "$(context.taskRun.namespace)" \
162161
-o jsonpath='{.data.HF_TOKEN}' \
163162
| tr -d '\n' \
164163
| base64 -d
165164
)
166-
# kubectl --namespace $(context.taskRun.namespace) get secret hf-secret -o jsonpath='{.data.HF_TOKEN}' | tr -d '\n' | base64 -d)
165+
167166
kubectl create secret generic hf-secret \
168167
--namespace ${NAMESPACE} \
169168
--from-literal="HF_TOKEN=${HF_TOKEN}" \
@@ -311,6 +310,7 @@ spec:
311310
--timeout=${MODEL_START_TIMEOUT}s
312311
echo "✅ (decode) pods serving model ${MODEL_ID} created"
313312
313+
# TBD check if any prefill pods and wait if so
314314
# kubectl --namespace ${NAMESPACE} \
315315
# wait pod \
316316
# -l llm-d.ai/model=${MODEL_LABEL},llm-d.ai/role=prefill \
@@ -325,6 +325,7 @@ spec:
325325
--timeout=${MODEL_START_TIMEOUT}s
326326
echo "✅ (decode) pods serving model ${MODEL_ID} ready"
327327

328+
# TBD check if any prefill pods and wait if so
328329
# kubectl --namespace ${NAMESPACE} \
329330
# wait pod \
330331
# -l llm-d.ai/model=${MODEL_LABEL},llm-d.ai/role=prefill \

0 commit comments

Comments
 (0)