Skip to content

Commit

Permalink
fix: increase wait time for ray head
Browse files Browse the repository at this point in the history
Change-Id: Iedd59e8a78dd1fc5a53b1e3f72e0774e9004cde0
  • Loading branch information
Gen Lu committed Aug 29, 2024
1 parent b891db1 commit 392e09c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ steps:
# Make sure pods are running
kubectl wait --all pods -n ml-$SHORT_SHA-$_BUILD_ID-ray --for=condition=Ready --timeout=1200s
# Wait for pods to be stable
sleep 5s
# Ray head's readinessProbe is not probing the head service today. Therefore the wait for ready above is not reliable.
sleep 45s
kubectl port-forward -n ml-$SHORT_SHA-$_BUILD_ID-ray service/ray-cluster-kuberay-head-svc 8265:8265 &
# Wait port-forwarding to take its place
sleep 10s
Expand Down Expand Up @@ -231,6 +231,8 @@ steps:
# Validate Ray: Make sure pods are running
kubectl wait --for=condition=Ready pods -n rag-$SHORT_SHA-$_BUILD_ID -l 'component!=continuous-image-puller' --timeout=1200s
# Ray head's readinessProbe is not probing the head service today. Therefore the wait for ready above is not reliable.
sleep 45s
kubectl port-forward -n rag-$SHORT_SHA-$_BUILD_ID service/ray-cluster-kuberay-head-svc 8262:8265 &
# Wait port-forwarding to take its place
sleep 5s
Expand Down

0 comments on commit 392e09c

Please sign in to comment.