Chapter 2. Enabling the model registry component
Before data scientists in your organization can work with the model registry feature, you must enable the modelregistry
component in OpenShift AI.
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 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
:modelregistry: managementState: Managed registriesNamespace: rhoai-model-registries
modelregistry: managementState: Managed registriesNamespace: rhoai-model-registries
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 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.