Chapter 2. Configuring the model registry component
To configure the model registry feature for your data scientists to use in OpenShift AI, you must install the following Operators in OpenShift, and then enable the modelregistry
component in OpenShift AI.
- Red Hat Authorino Operator (Technical Preview)
- Red Hat OpenShift Serverless Operator
- Red Hat OpenShift Service Mesh Operator
- Red Hat OpenShift AI Operator version 2.14+
You should install the Red Hat OpenShift AI Operator only after the other listed Operators are installed and in a running state.
For more information about installing Operators in OpenShift, see Adding Operators to a cluster.
For more information about installing the Red Hat OpenShift AI Operator, see Installing the Red Hat OpenShift AI Operator.
After you install the Operators, you can use the following steps to enable the modelregistry
component.
Prerequisites
- You have cluster administrator privileges for your OpenShift cluster.
- You have access to the data science cluster.
- You have installed the Red Hat OpenShift AI Operator on your OpenShift cluster.
- You have installed the Red Hat Authorino, Red Hat OpenShift Serverless, Red Hat OpenShift Service Mesh, and Red Hat OpenShift AI Operators.
- You have sufficient resources. For more information about the minimum resources required to use OpenShift AI, see Installing and deploying OpenShift AI (for disconnected environments, see Deploying OpenShift AI in a disconnected environment).
Procedure
-
In the OpenShift console, click Operators
Installed Operators. - Search for the Red Hat OpenShift AI Operator version 2.14+, and then click the Operator name to open the Operator details page.
- Click the Data Science Cluster tab.
- Click the default instance name (for example, default-dsc) to open the instance details page.
- Click the YAML tab to show the instance specifications.
Find the
spec.components
section, and then add or update it to include the followingmodelregistry
component entry, with themanagementState
field set toManaged
, and theregistriesNamespace
field set torhoai-model-registries
:Copy to Clipboard Copied! Toggle word wrap Toggle overflow modelregistry: managementState: Managed registriesNamespace: rhoai-model-registries
modelregistry: managementState: Managed registriesNamespace: rhoai-model-registries
- Click Save.
Verification
Confirm that the model registry namespace was created successfully:
-
In the OpenShift console, click Home
Projects. -
Confirm that the
rhoai-model-registries
namespace appears in the Projects drop-down list.
-
In the OpenShift console, click Home
Check the status of the model-registry-operator-controller-manager pod:
- In the OpenShift console, from the Project list, select redhat-ods-applications.
-
Click Workloads
Deployments. - Search for the model-registry-operator-controller-manager deployment.
Check the status:
- Click the deployment name to open the deployment details page.
- Click the Pods tab.
View the pod status.
When the status of the model-registry-operator-controller-manager-<pod-id> pod is Running, the pod is ready to use.
Next step
OpenShift AI administrators can create, delete, and manage permissions for model registries. For more information, see Managing model registries.