此内容没有您所选择的语言版本。

Chapter 4. Editing a model registry


You can edit the details of existing model registries, such as the model registry name, description, and database connection details.

Prerequisites

  • You have logged in to OpenShift AI as a user with OpenShift AI administrator privileges.
  • The model registry component is enabled in your OpenShift AI deployment. For more information, see Enabling the model registry component.
  • Your OpenShift AI deployment contains at least one model registry.

Procedure

  1. From the OpenShift AI dashboard, click Settings Model resources and operations Model registry settings.
  2. Click the action menu () beside the model registry that you want to edit, and then click Edit model registry.

    The Edit model registry dialog opens.

  3. Optional: In the Name field, edit the name of the model registry.
  4. Optional: In the Description field, edit the description of the model registry.
  5. Optional: In the Database section, click one of the following options to select where your model data is stored:

    • Default database (non-production): Use the PostgreSQL database that is enabled by default on your OpenShift cluster.

      Note

      The default database is designed for evaluation, development, and testing purposes only. This database is not supported by Red Hat for production use cases.

    • External database: Connect an external MySQL or PostgreSQL database designed for production use cases.
  6. If you selected External database, edit the details for the external database where your model data is stored:

    • Database type: Select MySQL or PostgreSQL from the list.
    • Host: Enter the database hostname, depending on where the database is running:

      1. In the rhoai-model-registries namespace, enter only the hostname for the database.
      2. In a different namespace from rhoai-model-registries, enter the database hostname details in <hostname>.<namespace>.svc.cluster.local format.
    • Port: Enter the port number for the database. The default port for MySQL is 3306. The default port for PostgreSQL is 5432.
    • Username: Enter the default user name that is connected to the database.
    • Password: Enter the password for the default user account.
    • Database: Enter the database name.
    • Optional: Add CA certificate to secure database connection: Select this option to use a certificate with your database connection and specify one of the following options.

      Important

      If your external database is configured to enforce Transport Layer Security (TLS), you must add a Certificate Authority (CA) certificate.

      1. Click Use cluster-wide CA bundle to use the ca-bundle.crt bundle in the odh-trusted-ca-bundle ConfigMap.
      2. Click Use Red Hat OpenShift AI CA bundle to use the odh-ca-bundle.crt bundle in the odh-trusted-ca-bundle ConfigMap.
      3. Click Choose from existing certificates to select an existing certificate. You can select the key of any ConfigMap or secret in the rhoai-model-registries namespace.

        1. From the Resource list, select a ConfigMap or secret.
        2. From the Key list, select a key.
      4. Click Upload new certificate to upload a new certificate as a ConfigMap.

        1. Drag and drop the PEM file for your certificate into the Certificate field, or click Upload to select a file from your local machine’s file system.

          Note

          Uploading a certificate creates the db-credential ConfigMap with the ca.crt key.

          To upload a certificate as a secret, you must create a secret in the OpenShift rhoai-model-registries namespace, and then select it as an existing certificate when you create your model registry.

          For more information about creating secrets, see Providing sensitive data to pods by using secrets in the OpenShift Container Platform documentation.

  7. Click Update.

Verification

  • The model registry is displayed with updated details on the Model registry settings page.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部