Skip to content

Commit

Permalink
feat(bug): retry kfserving installation. Fixes kubeflow#1613 (kubeflo…
Browse files Browse the repository at this point in the history
…w#1668)

* update to retry to apply resources

* retry installation due to TLS certificates ..

* update with comment and increas retry
  • Loading branch information
NikeNano authored Jun 18, 2021
1 parent 9995b0e commit 4aa07cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/quick_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/relea
kubectl wait --for=condition=available --timeout=600s deployment/cert-manager-webhook -n cert-manager
cd ..
# Install KFServing
kubectl apply -f install/${KFSERVING_VERSION}/kfserving.yaml

# Retry inorder to handle that it may take a minute or so for the TLS assets required for the webhook to function to be provisioned
for i in 1 2 3 4 5 ; do kubectl apply -f install/${KFSERVING_VERSION}/kfserving.yaml && break || sleep 15; done
# Clean up
rm -rf istio-${ISTIO_VERSION}

0 comments on commit 4aa07cc

Please sign in to comment.