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

Chapter 4. Creating project-scoped resources


OpenShift AI users can access global resources in all OpenShift AI projects. However, they can access project-scoped resources only within projects that they have permissions to access.

As a cluster administrator, you can create the following types of project-scoped resources in any OpenShift AI project:

  • Workbench images
  • Hardware profiles
  • Accelerator profiles
  • Model-serving runtimes for KServe

All resource names must be unique within a project.

Note

A user with access permissions to a project can create project-scoped resources for that project, as described in Creating project-scoped resources for your project.

Prerequisites

  • You can access the OpenShift console as a cluster administrator.
  • You have set the disableProjectScoped dashboard configuration option to false, as described in Customizing the dashboard.

Procedure

  1. Log in to the OpenShift console as a cluster administrator.
  2. Copy the YAML code to create the resource.

    You can get the YAML code from a trusted source, such as an existing resource, a Git repository, or documentation.

    For example, you can copy the YAML code from an existing resource, as follows:

    1. In the Administrator perspective, click Home Search.
    2. From the Project list, select the appropriate project.

      To limit the search to global OpenShift AI resources only, select the redhat-ods-applications project.

    3. In the Resources list, search for the relevant resource type:

      • For workbench images, search for ImageStream.
      • For hardware profiles, search for HardwareProfile.
      • For accelerator profiles, search for AcceleratorProfile.
      • For serving runtimes, search for Template. From the resulting list, find the templates that have the objects.kind specification set to ServingRuntime.
    4. Select a resource, and then click the YAML tab.
    5. Copy the YAML content, and then click Cancel.
  3. From the Project list, select the target project name.
  4. From the toolbar, click the + icon to open the Import YAML page.
  5. Paste the relevant YAML content into the code area.
  6. Edit the metadata.namespace value to specify the name of the target project.
  7. If necessary, edit the metadata.name value to ensure that the resource name is unique within the specified project.
  8. Optional: Edit the resource name that is displayed in the OpenShift AI console:

    • For workbench images, edit the metadata.annotations.opendatahub.io/notebook-image-name value.
    • For hardware profiles and accelerator profiles, edit the spec.displayName value.
    • For serving runtimes, edit the objects.metadata.annotations.openshift.io/display-name value.
  9. Click Create.

Verification

  1. Log in to the OpenShift AI console as a regular user.
  2. Verify that the project-scoped resource is shown in the specified project:

トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

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

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

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

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

会社概要

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

Theme

© 2025 Red Hat