Chapter 6. Creating project-scoped resources for your project


As an OpenShift AI user, you can access global resources in all OpenShift AI projects, but you can access project-scoped resources within the specified project only.

As a user with access permissions to a project, you can create the following types of project-scoped resources for your OpenShift AI project:

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

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.

Prerequisites

  • You can access the OpenShift console.
  • An OpenShift AI administrator has set the disableProjectScoped dashboard configuration option to false, as described in Customizing the dashboard.
  • You can access a project in the OpenShift AI console.
  • You have example YAML code for the type of resource that you want to create.

    You can get the YAML code from a trusted source, such as an existing project-scoped resource, a Git repository, or documentation. Alternatively, you can contact your cluster administrator to request the relevant YAML code.

Procedure

  1. Log in to the OpenShift console.
  2. From a trusted source, copy the YAML code that you want to use for your project resource.

    For example, if you can access an existing project-scoped resource in one of your projects, you can copy the YAML code as follows:

    1. In the Administrator perspective, click Home Search.
    2. From the Projects list, select the appropriate project.
    3. In the Resources list, search for the relevant resource type, as follows:

      • For workbench images, search for ImageStream.
      • For hardware profiles, search for HardwareProfile.
      • 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 your project name.
  4. From the toolbar, click the + icon to open the Import YAML page.
  5. Paste the example YAML content into the code area.
  6. Edit the metadata.namespace value to specify the name of your 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, as follows:

    • For workbench images, edit the metadata.annotations.opendatahub.io/notebook-image-name value.
    • For hardware 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.
  2. Verify that the project-scoped resource is shown in the specified project:

    • For workbench images, when you create a workbench in the project, as described in Creating a workbench, the workbench image that you added is available in the Image selection list.
    • For model-serving runtimes, see Deploying models.
    • For workbench images, when you create a workbench in the project, as described in Creating a workbench, the workbench image that you added is available in the Image selection list.
    • For serving runtimes, see Deploying models.
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top