This message was deleted.
# ask-for-help
s
This message was deleted.
b
You could try building it locally and pushing it to your image repository
1
You'll need to take note to tag the image according to what Yatai expects
u
thanks to reply! I think yatai build the image when I deploy in yatai-ui based on the model bentos that I pushed before using cmd
bentoml push model_name:tag
do you mean I need to try deploy the model after build and push the image in local image repository? And Yatai is on GKE cluster not local
b
I'm on GKE too 🙂
So what I do is the following: 1.
bentoml build ...
2.
bentoml push mymodel
3.
bentoml containerize mymodel
4.
docker tag mymodel:tag123 <http://gcr.io/myproject/yatai-bentos:yatai.mymodel.tag123|gcr.io/myproject/yatai-bentos:yatai.mymodel.tag123>
(Note the last part is a
.tag123
NOT
:tag123
5.
docker push <http://gcr.io/myproject/yatai-bentos:yatai.mymodel.tag123|gcr.io/myproject/yatai-bentos:yatai.mymodel.tag123>
6. Create a
deployment.yaml
that has is a
BentoDeployment
that points to your
mymodel:tag123
🙇‍♂️ 1
I think you can omit step 6 if you do it via the UI because the UI creates the deployment anyway and looks for the image and if it doesn't it launches the image builder
u
ahh~ Thanks Tan! It works! but I faced other issue 😂😂 anyway, I could get next step! 🙇‍♂️
b
nice 😄
what are you hitting into now?