Skip to content
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

bug: Unable to containerize the bentoml build #4201

Open
Mayurji opened this issue Sep 20, 2023 · 1 comment
Open

bug: Unable to containerize the bentoml build #4201

Mayurji opened this issue Sep 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Mayurji
Copy link

Mayurji commented Sep 20, 2023

Describe the bug

Unable to deploy the bentoml service for the given example on kubeflow.

To reproduce

Steps to reproduce

We are following the sample code for deploying the BentoML service.

We were able to execute all steps till "Serve Bento", after which we tried to deploy the same using both Bento's custom resources.

  1. Deploy with BentoRequest CRD
  2. Deploy with Bento CRD

Error:

In the first deployment method, we exported the bento build as a bento file into an s3 bucket, and tried executing "deployment_from_bentorequest.yaml", updated the s3 bucket path in yaml file and bento:tag. We didn't receive any error while applying the yaml file, but we also didn't see any pod spinning up. We looked at the kubernetes events

IMG_20230920_120228__01__01__01

In the second deployment method, we tried containerizing the build using bentoml, but it is throwing an error as follows:

Error: [bento-cli] containerize failed: Backend Docker is not healthy

Expected behavior

Should create pods in the kubernetes cluster:

kubectl -n kubeflow get pods -l yatai.ai/bento-deployment=fraud-detection

NAME                                        READY   STATUS    RESTARTS   AGE
fraud-detection-67f84686c4-9zzdz            4/4     Running   0          10s
fraud-detection-runner-0-86dc8b5c57-q4c9f   3/3     Running   0          10s
fraud-detection-runner-1-846bdfcf56-c5g6m   3/3     Running   0          10s
fraud-detection-runner-2-6d48794b7-xws4j    3/3     Running   0          10s

Environment

Kubernetes: 1.25
Kubeflow: 1.7
Yatai-image-builder: 1.1.3
bentoml: 1.1.6

@Mayurji Mayurji added the bug Something isn't working label Sep 20, 2023
@parano
Copy link
Member

parano commented Nov 1, 2023

@Mayurji could you confirm the status of docker registry used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants