このコンテンツは選択した言語では利用できません。

Chapter 3. 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.
  • A cluster administrator has configured and enabled the model registry component in your OpenShift AI deployment. For more information, see Configuring the model registry component.
  • The model registry component is enabled for your OpenShift AI deployment, and contains at least 1 model registry.

Procedure

  1. From the OpenShift AI dashboard, click Settings 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 Connect to external MySQL database section, edit the information for the external database where model data for the registry is stored.

    1. In the Host field, enter the database’s host name.

      1. If the database is running in the rhoai-model-registries namespace, enter only the hostname for the database.
      2. If the database is running in a different namespace from rhoai-model-registries, enter the database hostname details in <host name>.<namespace>.svc.cluster.local format.
    2. In the Port field, enter the port number for the database.
    3. In the Username field, enter the default user name that is connected to the database.
    4. In the Password field, enter the password for the default user account.
    5. In the Database field, enter the database name.
  6. Optional: Select the Add CA certificate to secure database connection to use a certificate with your database connection.

    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 in OpenShift, see Providing sensitive data to pods by using secrets.

  7. Click Update.

Verification

  • The model registry appears with updated details on the Model Registry Settings page.
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.