Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherrypick AP cloud build stockout mitigation onto release-1.1 #580

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ steps:
echo "pass" > /workspace/user_result.txt

# Make sure pods are running
kubectl wait --all pods -n ml-$SHORT_SHA-$_BUILD_ID --for=condition=Ready --timeout=300s
kubectl wait --all pods -n ml-$SHORT_SHA-$_BUILD_ID --for=condition=Ready --timeout=1200s
kubectl port-forward -n ml-$SHORT_SHA-$_BUILD_ID service/ray-cluster-kuberay-head-svc 8265:8265 &
# Wait port-forwarding to take its place
sleep 5s
Expand Down Expand Up @@ -156,7 +156,7 @@ steps:
-auto-approve -no-color -lock=false
echo "pass" > /workspace/jupyterhub_tf_result.txt

kubectl wait --all pods -n ml-$SHORT_SHA-$_BUILD_ID --for=condition=Ready --timeout=300s
kubectl wait --all pods -n ml-$SHORT_SHA-$_BUILD_ID --for=condition=Ready --timeout=1200s
kubectl get services -n ml-$SHORT_SHA-$_BUILD_ID
kubectl port-forward -n ml-$SHORT_SHA-$_BUILD_ID service/proxy-public 9443:80 &
# Wait port-forwarding to take its place
Expand Down Expand Up @@ -226,7 +226,7 @@ steps:
echo "pass" > /workspace/rag_tf_result.txt

# Validate Ray: Make sure pods are running
kubectl wait --all pods -n rag-$SHORT_SHA-$_BUILD_ID --for=condition=Ready --timeout=300s
kubectl wait --all pods -n rag-$SHORT_SHA-$_BUILD_ID --for=condition=Ready --timeout=1200s
kubectl port-forward -n rag-$SHORT_SHA-$_BUILD_ID service/ray-cluster-kuberay-head-svc 8265:8265 &
# Wait port-forwarding to take its place
sleep 5s
Expand Down
3 changes: 0 additions & 3 deletions modules/kuberay-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ resource "helm_release" "ray-cluster" {
namespace = var.namespace
create_namespace = true
version = "1.0.0"
# Timeout is increased to guarantee sufficient scale-up time for Autopilot nodes.
timeout = 1200
artemvmin marked this conversation as resolved.
Show resolved Hide resolved
wait = true

values = [
templatefile("${path.module}/values.yaml", {
Expand Down