이 콘텐츠는 선택한 언어로 제공되지 않습니다.

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은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat