Skip to content

Commit 1833954

Browse files
committed
TELCODOCS-2227 Improve documentation adding how NumeResourceOperator can be applied to more than 1 pool
1 parent b01625d commit 1833954

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

modules/cnf-creating-nrop-cr.adoc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,29 @@ spec:
4242
$ oc create -f nrop.yaml
4343
----
4444

45+
. Optional: To enable NUMA-aware scheduling for multiple machine config pools (MCPs), define a separate `NodeGroup` for each pool. For example, define three `NodeGroups` for `worker-cnf`, `worker-ht`, and `worker-other`, in the `NUMAResourcesOperator` CR as shown in the following example:
46+
+
47+
.Example YAML definition for a `NUMAResourcesOperator` CR with multiple `NodeGroups`
48+
[source,yaml]
49+
----
50+
apiVersion: nodetopology.openshift.io/v1
51+
kind: NUMAResourcesOperator
52+
metadata:
53+
name: numaresourcesoperator
54+
spec:
55+
logLevel: Normal
56+
nodeGroups:
57+
- machineConfigPoolSelector:
58+
matchLabels:
59+
machineconfiguration.openshift.io/role: worker-ht
60+
- machineConfigPoolSelector:
61+
matchLabels:
62+
machineconfiguration.openshift.io/role: worker-cnf
63+
- machineConfigPoolSelector:
64+
matchLabels:
65+
machineconfiguration.openshift.io/role: worker-other
66+
----
67+
4568
.Verification
4669

4770
. Verify that the NUMA Resources Operator deployed successfully by running the following command:

0 commit comments

Comments
 (0)