Skip to content

Commit a01a6eb

Browse files
authored
Merge pull request #48298 from bergerhoffer/github-43667
GitHub-43667: Updating procedure to edit a namespace
2 parents 783528e + aac42a5 commit a01a6eb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/nodes-scheduler-node-selectors-project.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ You can add additional key/value pairs to a pod. But you cannot add a different
2929

3030
To add a default project node selector:
3131

32-
. Create a project or edit an existing project to add the `openshift.io/node-selector` parameter:
32+
. Create a namespace or edit an existing namespace to add the `openshift.io/node-selector` parameter:
3333
+
3434
[source,terminal]
3535
----
36-
$ oc edit project <name>
36+
$ oc edit namespace <name>
3737
----
3838
+
3939
.Example output
4040
[source,yaml]
4141
----
42-
apiVersion: project.openshift.io/v1
43-
kind: Project
42+
apiVersion: v1
43+
kind: Namespace
4444
metadata:
4545
annotations:
4646
openshift.io/node-selector: "type=user-node,region=east" <1>

0 commit comments

Comments
 (0)