Bento CRD#
Bento
is a Kubernetes CRD defined by yatai-image-builder component.
It is primarily used to describe bento’s information. yatai-deployment to get bento information via Bento CR.
Bento CRs are often generated through the BentoRequest CR, but you can create a Bento CR manually, and yatai-deployment relies on the Bento CR to get the Bento information.
Field |
Type |
Description |
---|---|---|
|
|
The version of the schema. Current version is |
|
|
The type of the resource. |
|
|
The metadata of the resource. Refer to the Kubernetes API documentation for the fields of the |
|
|
The tag of bento. required |
|
|
The OCI image URI of bento. required |
|
|
The runners information. required |
|
|
The name of the runner. required |
Example of a Bento#
apiVersion: resources.yatai.ai/v1alpha1
kind: Bento
metadata:
name: my-bento
namespace: my-namespace
spec:
bentoTag: iris:1
image: my-registry.com/my-repository/iris:1
runners:
- name: runner1
runnableType: SklearnRunnable
modelTags:
- iris:1
- name: runner2