You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/creating-project-scoped-resources-for-your-project.adoc
+19-17Lines changed: 19 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
= Creating project-scoped resources for your project
5
5
6
6
[role='_abstract']
7
-
Users can access _global resources_ in all {productname-short} projects, but can access _project-scoped resources_ within the specified project only.
7
+
As an {productname-short} user, you can access _global resources_ in all {productname-short} projects, but you can access _project-scoped resources_ within the specified project only.
8
8
9
-
A project member who is not a cluster administrator can create the following types of project-scoped resources for their {productname-short} project:
9
+
As a user with access permissions to a project, you can create the following types of project-scoped resources for your {productname-short} project:
10
10
11
11
* Workbench images
12
12
* Model-serving runtimes for KServe
@@ -21,10 +21,10 @@ All resource names must be unique within a project.
21
21
[NOTE]
22
22
====
23
23
ifdef::upstream[]
24
-
Cluster administrators can create project-scoped resources for any project, as described in link:{odhdocshome}/managing-odh/#creating-project-scoped-resources_managing-odh[Creating project-scoped resources].
24
+
A user with access permissions to a project can create project-scoped resources for that project, as described in link:{odhdocshome}/managing-odh/#creating-project-scoped-resources_managing-odh[Creating project-scoped resources].
25
25
endif::[]
26
26
ifndef::upstream[]
27
-
Cluster administrators can create project-scoped resources for any project, as described in link:{rhoaidocshome}{default-format-url}/managing_openshift_ai/creating-project-scoped-resources_managing-rhoai[Creating project-scoped resources].
27
+
A user with access permissions to a project can create project-scoped resources for that project, as described in link:{rhoaidocshome}{default-format-url}/managing_openshift_ai/creating-project-scoped-resources_managing-rhoai[Creating project-scoped resources].
28
28
endif::[]
29
29
====
30
30
@@ -48,13 +48,14 @@ Alternatively, you can contact your cluster administrator to request the relevan
48
48
49
49
50
50
.Procedure
51
+
51
52
. Log in to the {openshift-platform} console.
52
-
. Copy the YAML code from a trusted source to create the resource.
53
+
. From a trusted source, copy the YAML code that you want to use for your project resource.
53
54
+
54
-
Alternatively, if you can access an existing project-scoped resource in one of your projects, you can copy the YAML code as follows:
55
+
For example, if you can access an existing project-scoped resource in one of your projects, you can copy the YAML code as follows:
55
56
56
57
.. In the *Administrator* perspective, click *Home* -> *Search*.
57
-
.. From the *Projects* list, select the appropriate value.
58
+
.. From the *Projects* list, select the appropriate project.
58
59
.. In the *Resources* list, search for the relevant resource type, as follows:
59
60
60
61
* For workbench images, search for `ImageStream`.
@@ -64,10 +65,10 @@ Alternatively, if you can access an existing project-scoped resource in one of y
64
65
* For serving runtimes, search for `Template`.
65
66
From the resulting list, find the templates that have the `objects.kind` specification set to `ServingRuntime`.
66
67
67
-
.. Select a resource, and click the *YAML* tab.
68
-
.. Copy the YAML content, and click *Cancel*.
68
+
.. Select a resource, and then click the *YAML* tab.
69
+
.. Copy the YAML content, and then click *Cancel*.
69
70
70
-
. From the *Project* list, select your project name. Note the spelling.
71
+
. From the *Project* list, select your project name.
71
72
. From the toolbar, click the *+* icon to open the *Import YAML* page.
72
73
. Paste the example YAML content into the code area.
73
74
. Edit the `metadata.namespace` value to specify the name of your project.
@@ -82,31 +83,32 @@ From the resulting list, find the templates that have the `objects.kind` specifi
82
83
83
84
84
85
.Verification
86
+
85
87
. Log in to the {productname-short} console.
86
-
. Verify that the project-scoped resource is shown in the specified project only:
88
+
. Verify that the project-scoped resource is shown in the specified project:
87
89
88
90
ifdef::upstream[]
89
-
* For workbench images, see link:{odhdocshome}/working-on-data-science-projects/#creating-a-project-workbench_projects[Creating a workbench].
91
+
* For workbench images, when you create a workbench in the project, as described in link:{odhdocshome}/working-on-data-science-projects/#creating-a-project-workbench_projects[Creating a workbench], the workbench image that you added is available in the *Image selection* list.
90
92
endif::[]
91
93
ifndef::upstream[]
92
-
* For workbench images, see link:{rhoaidocshome}{default-format-url}/working_on_data_science_projects/using-project-workbenches_projects#creating-a-project-workbench_projects[Creating a workbench].
94
+
* For workbench images, when you create a workbench in the project, as described in link:{rhoaidocshome}{default-format-url}/working_on_data_science_projects/using-project-workbenches_projects#creating-a-project-workbench_projects[Creating a workbench], the workbench image that you added is available in the *Image selection* list.
93
95
endif::[]
94
96
95
97
ifdef::upstream[]
96
-
* For serving runtimes, see link:{odhdocshome}/serving-models/#deploying-models-on-the-single-model-serving-platform_serving-large-models[Deploying models on the single-model serving platform].
98
+
* For model-serving runtimes, see link:{odhdocshome}/serving-models/#deploying-models-on-the-single-model-serving-platform_serving-large-models[Deploying models on the single-model serving platform].
97
99
endif::[]
98
100
ifndef::upstream[]
99
-
* For serving runtimes, see link:{rhoaidocshome}{default-format-url}/serving_models/serving-large-models_serving-large-models#deploying-models-on-the-single-model-serving-platform_serving-large-models[Deploying models on the single-model serving platform].
101
+
* For model-serving runtimes, see link:{rhoaidocshome}{default-format-url}/serving_models/serving-large-models_serving-large-models#deploying-models-on-the-single-model-serving-platform_serving-large-models[Deploying models on the single-model serving platform].
100
102
endif::[]
101
103
102
104
////
103
105
When RHOAIENG-26758 is resolved, remove the above lines and uncomment this section instead.
104
106
105
107
ifdef::upstream[]
106
-
* For workbench images, hardware profiles, and accelerator profiles, see link:{odhdocshome}/working-on-data-science-projects/#creating-a-project-workbench_projects[Creating a workbench].
108
+
* For workbench images, hardware profiles, and accelerator profiles, when you create a workbench in the project, as described in link:{odhdocshome}/working-on-data-science-projects/#creating-a-project-workbench_projects[Creating a workbench], the workbench image that you added is available in the *Image selection* list.
107
109
endif::[]
108
110
ifndef::upstream[]
109
-
* For workbench images, hardware profiles, and accelerator profiles, see link:{rhoaidocshome}{default-format-url}/working_on_data_science_projects/using-project-workbenches_projects#creating-a-project-workbench_projects[Creating a workbench].
111
+
* For workbench images, hardware profiles, and accelerator profiles, when you create a workbench in the project, as described in link:{rhoaidocshome}{default-format-url}/working_on_data_science_projects/using-project-workbenches_projects#creating-a-project-workbench_projects[Creating a workbench], the workbench image that you added is available in the *Image selection* list.
Copy file name to clipboardExpand all lines: modules/creating-project-scoped-resources.adoc
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
= Creating project-scoped resources
5
5
6
6
[role='_abstract']
7
-
Users can access _global resources_ in all {productname-short} projects, but can access _project-scoped resources_ within the specified project only.
7
+
{productname-short} users can access _global resources_ in all {productname-short} projects. However, they can access _project-scoped resources_ only within projects that they have permissions to access.
8
8
9
-
Cluster administrators can create the following types of project-scoped resources in any {productname-short} project:
9
+
As a cluster administrator, you can create the following types of project-scoped resources in any {productname-short} project:
10
10
11
11
* Workbench images
12
12
* Hardware profiles
@@ -19,10 +19,10 @@ All resource names must be unique within a project.
19
19
[NOTE]
20
20
====
21
21
ifdef::upstream[]
22
-
A project member who is not a cluster administrator can create project-scoped resources for their project, as described in link:{odhdocshome}/working-on-data-science-projects/#creating-project-scoped-resources-for-your-project_projects[Creating project-scoped resources for your project].
22
+
A user with access permissions to a project can create project-scoped resources for that project, as described in link:{odhdocshome}/working-on-data-science-projects/#creating-project-scoped-resources-for-your-project_projects[Creating project-scoped resources for your project].
23
23
endif::[]
24
24
ifndef::upstream[]
25
-
A project member who is not a cluster administrator can create project-scoped resources for their project, as described in link:{rhoaidocshome}{default-format-url}/working_on_data_science_projects/creating-project-scoped-resources-for-your-project_projects[Creating project-scoped resources for your project].
25
+
A user with access permissions to a project can create project-scoped resources for that project, as described in link:{rhoaidocshome}{default-format-url}/working_on_data_science_projects/creating-project-scoped-resources-for-your-project_projects[Creating project-scoped resources for your project].
26
26
endif::[]
27
27
====
28
28
@@ -39,6 +39,7 @@ endif::[]
39
39
40
40
41
41
.Procedure
42
+
42
43
. Log in to the {openshift-platform} console as a cluster administrator.
43
44
. Copy the YAML code to create the resource.
44
45
+
@@ -47,31 +48,31 @@ You can get the YAML code from a trusted source, such as an existing resource, a
47
48
For example, you can copy the YAML code from an existing resource, as follows:
48
49
49
50
.. In the *Administrator* perspective, click *Home* -> *Search*.
50
-
.. From the *Project* list, select the appropriate value.
51
+
.. From the *Project* list, select the appropriate project.
51
52
+
52
53
ifdef::upstream[]
53
54
To limit the search to global {productname-short} resources only, select the `opendatahub` project.
54
55
endif::[]
55
56
ifndef::upstream[]
56
57
To limit the search to global {productname-short} resources only, select the `redhat-ods-applications` project.
57
58
endif::[]
58
-
.. In the *Resources* list, search for the relevant resource type, as follows:
59
+
.. In the *Resources* list, search for the relevant resource type:
59
60
60
61
* For workbench images, search for `ImageStream`.
61
62
* For hardware profiles, search for `HardwareProfile`.
62
63
* For accelerator profiles, search for `AcceleratorProfile`.
63
64
* For serving runtimes, search for `Template`.
64
65
From the resulting list, find the templates that have the `objects.kind` specification set to `ServingRuntime`.
65
66
66
-
.. Select a resource, and click the *YAML* tab.
67
-
.. Copy the YAML content, and click *Cancel*.
67
+
.. Select a resource, and then click the *YAML* tab.
68
+
.. Copy the YAML content, and then click *Cancel*.
68
69
69
-
. From the *Project* list, select the target project name. Note the spelling.
70
+
. From the *Project* list, select the target project name.
70
71
. From the toolbar, click the *+* icon to open the *Import YAML* page.
71
72
. Paste the relevant YAML content into the code area.
72
73
. Edit the `metadata.namespace` value to specify the name of the target project.
73
74
. If necessary, edit the `metadata.name` value to ensure that the resource name is unique within the specified project.
74
-
. Optional: Edit the resource name that is displayed in the {productname-short} console, as follows:
75
+
. Optional: Edit the resource name that is displayed in the {productname-short} console:
75
76
76
77
* For workbench images, edit the `metadata.annotations.opendatahub.io/notebook-image-name` value.
77
78
* For hardware profiles and accelerator profiles, edit the `spec.displayName` value.
@@ -82,7 +83,7 @@ From the resulting list, find the templates that have the `objects.kind` specifi
82
83
83
84
.Verification
84
85
. Log in to the {productname-short} console as a regular user.
85
-
. Verify that the project-scoped resource is shown in the specified project only:
86
+
. Verify that the project-scoped resource is shown in the specified project:
86
87
87
88
ifdef::upstream[]
88
89
* For workbench images, hardware profiles, and accelerator profiles, see link:{odhdocshome}/working-on-data-science-projects/#creating-a-project-workbench_projects[Creating a workbench].
0 commit comments