diff --git a/modules/nodes-scheduler-node-selectors-project.adoc b/modules/nodes-scheduler-node-selectors-project.adoc index b55cb7f7b5..b166d09cd8 100644 --- a/modules/nodes-scheduler-node-selectors-project.adoc +++ b/modules/nodes-scheduler-node-selectors-project.adoc @@ -29,18 +29,18 @@ You can add additional key/value pairs to a pod. But you cannot add a different To add a default project node selector: -. Create a project or edit an existing project to add the `openshift.io/node-selector` parameter: +. Create a namespace or edit an existing namespace to add the `openshift.io/node-selector` parameter: + [source,terminal] ---- -$ oc edit project +$ oc edit namespace ---- + .Example output [source,yaml] ---- -apiVersion: project.openshift.io/v1 -kind: Project +apiVersion: v1 +kind: Namespace metadata: annotations: openshift.io/node-selector: "type=user-node,region=east" <1>