-
Notifications
You must be signed in to change notification settings - Fork 69
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
builder OOM Killed #457
Comments
You can use JSON editor to add resource limits to image builder Containers. If this is not possible, consider switching to a different image build engine, such as How to switch image build engine: helm -n yatai-image-builder get values yatai-image-builder > ./values.yaml
helm -n yatai-image-builder upgrade yatai-image-builder --values ./values.yaml --set bentoImageBuildEngine=buildkit |
Somehow the JSON Editor is not showing anything. Is it because we are in a non external internet access environment? Besides, if we delete the deployment through the Web UI, and try to deploy the same model, it will give us image build failed immediately. And I checked the log, it was the last deployment error. Not sure if this is a bug or what. We have to delete the BentoRequest for the bento in order to create a new deployment for the same model version. |
@herunyu Thanks for your feedback, I just updated and released yatai-deployment and its helm chart, now you can specify a custom proxy image with this value, you can now update the helm repo and then update the yatai-deployment helm release to set this image |
@herunyu I can demonstrate how to do this update. First, update the helm repo: helm repo update bentoml Then save the previous values: helm get values yatai-deployment -n yatai-deployment > /tmp/yatai-deployment-values.yaml Final update on release: helm -n yatai-deployment upgrade yatai-deployment bentoml/yatai-deployment --values /tmp/yatai-deployment-values.yaml --set internalImages.proxy=${your proxy image here} |
@yetone Thank you! We will try this update and see if the problem is solved. |
Hi there, I am trying to deploy a bento through yatai. However, it keeps giving me OOMKilled for the builder.
I have set the BentoML Configuration as the following:
But the resources of the building pod is not what I want:
It leads to the following error. Please take a look. Thank you!
The text was updated successfully, but these errors were encountered: