Yatai is BentoML’s Kubernetes component for deploying, operating, scaling, and monitoring machine-learning services. A typical workflow packages an application into a Bento, pushes it to a container registry, and lets Yatai build the image and deploy it. section 6.1 section 2.1.5
A practical Yatai workflow has two main stages:
- Build a Bento containing the model application and its requirements on the local system. section 6.1
- Deploy the Bento through Yatai, then use its UI to scale and monitor the resulting service. section 6.1
Income classifier API
An income classifier can be packaged as a Bento and pushed to Yatai. Yatai handles containerizing and deploying it as an API endpoint on Kubernetes, while the service exposes operational metrics such as requests per second and HTTP response codes. section 6.1 section 2.1.5
Figure 6.2 BentoML process to deploy the model as a service. We build a Bento and push it to the container registry, and Yatai builds an image and deploys it.
The deployment diagram shows how a Bento moves through the container registry before Yatai builds an image and deploys the model service. section 6.1
