From 0b08b6ee27a398cad1a62c793f884bf40657ccdc Mon Sep 17 00:00:00 2001 From: "carter.fendley" Date: Thu, 10 Oct 2024 13:53:34 -0400 Subject: [PATCH] Intentionally make image pull fail for display reasons --- scripts/deploy/github/deploy-kfp.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/deploy/github/deploy-kfp.sh b/scripts/deploy/github/deploy-kfp.sh index bf3caf9d3383..a7e5c90cfb00 100755 --- a/scripts/deploy/github/deploy-kfp.sh +++ b/scripts/deploy/github/deploy-kfp.sh @@ -43,15 +43,15 @@ fi echo "Patching deployments to use built docker images..." # Patch API server -kubectl patch deployment ml-pipeline -p '{"spec": {"template": {"spec": {"containers": [{"name": "ml-pipeline-api-server", "image": "kind-registry:5000/apiserver"}]}}}}' -n kubeflow +kubectl patch deployment ml-pipeline -p '{"spec": {"template": {"spec": {"containers": [{"name": "ml-pipeline-api-server", "image": "apiserver"}]}}}}' -n kubeflow # Patch persistance agent -kubectl patch deployment.apps/ml-pipeline-persistenceagent -p '{"spec": {"template": {"spec": {"containers": [{"name": "ml-pipeline-persistenceagent", "image": "kind-registry:5000/persistenceagent"}]}}}}' -n kubeflow +kubectl patch deployment.apps/ml-pipeline-persistenceagent -p '{"spec": {"template": {"spec": {"containers": [{"name": "ml-pipeline-persistenceagent", "image": "persistenceagent"}]}}}}' -n kubeflow # Patch scheduled workflow -kubectl patch deployment.apps/ml-pipeline-scheduledworkflow -p '{"spec": {"template": {"spec": {"containers": [{"name": "ml-pipeline-scheduledworkflow", "image": "kind-registry:5000/scheduledworkflow"}]}}}}' -n kubeflow +kubectl patch deployment.apps/ml-pipeline-scheduledworkflow -p '{"spec": {"template": {"spec": {"containers": [{"name": "ml-pipeline-scheduledworkflow", "image": "scheduledworkflow"}]}}}}' -n kubeflow # Update environment variables to override driver / launcher -kubectl set env deployments/ml-pipeline V2_DRIVER_IMAGE=kind-registry:5000/driver -n kubeflow -kubectl set env deployments/ml-pipeline V2_LAUNCHER_IMAGE=kind-registry:5000/launcher -n kubeflow +kubectl set env deployments/ml-pipeline V2_DRIVER_IMAGE=driver -n kubeflow +kubectl set env deployments/ml-pipeline V2_LAUNCHER_IMAGE=launcher -n kubeflow # Check if all pods are running - (10 minutes) wait_for_pods || EXIT_CODE=$?