此内容没有您所选择的语言版本。
Chapter 2. Enabling the model registry component
Before data scientists and AI engineers in your organization can work with the model registry and model catalog, you must ensure that the modelregistry component is enabled in OpenShift AI.
The modelregistry component is enabled by default in a new OpenShift AI 3.2 installation. However, if the model registry was not enabled in a previous version of OpenShift AI, you must enable this component after upgrading to OpenShift AI 3.2.
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.componentssection, and then add or update it to include the followingmodelregistrycomponent entry, with themanagementStatefield set toManaged, and theregistriesNamespacefield set torhoai-model-registries:modelregistry: managementState: Managed registriesNamespace: rhoai-model-registriesmodelregistry: managementState: Managed registriesNamespace: rhoai-model-registriesCopy 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-registriesnamespace is displayed 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.