Skip to content

Commit

Permalink
debug handle for kind deploy
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Mortari <[email protected]>
  • Loading branch information
tarilabs committed Nov 22, 2024
1 parent dfedb0b commit 7a8bded
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/deploy_on_kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ kubectl apply -k manifests/kustomize/overlays/db
kubectl patch deployment -n "$MR_NAMESPACE" model-registry-deployment \
--patch '{"spec": {"template": {"spec": {"containers": [{"name": "rest-container", "image": "'$IMG'", "imagePullPolicy": "IfNotPresent"}]}}}}'

kubectl wait --for=condition=available -n "$MR_NAMESPACE" deployment/model-registry-db --timeout=5m
if ! kubectl wait --for=condition=available -n "$MR_NAMESPACE" deployment/model-registry-db --timeout=5m ; then
kubectl events -A
exit 1
fi

kubectl delete pod -n "$MR_NAMESPACE" --selector='component=model-registry-server'

Expand Down

0 comments on commit 7a8bded

Please sign in to comment.