Skip to content

Commit dae1343

Browse files
authored
Merge pull request #90295 from openshift-cherrypick-robot/cherry-pick-90150-to-enterprise-4.17
[enterprise-4.17] TELCODOCS-2227 Improve documentation adding how NumeResourceOperator can be applied to more than 1 pool
2 parents 212ff54 + bed4f1a commit dae1343

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
@@ -47,6 +47,29 @@ $ oc create -f nrop.yaml
4747
Creating the `NUMAResourcesOperator` triggers a reboot on the corresponding machine config pool and therefore the affected node.
4848
====
4949

50+
. 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:
51+
+
52+
.Example YAML definition for a `NUMAResourcesOperator` CR with multiple `NodeGroups`
53+
[source,yaml]
54+
----
55+
apiVersion: nodetopology.openshift.io/v1
56+
kind: NUMAResourcesOperator
57+
metadata:
58+
name: numaresourcesoperator
59+
spec:
60+
logLevel: Normal
61+
nodeGroups:
62+
- machineConfigPoolSelector:
63+
matchLabels:
64+
machineconfiguration.openshift.io/role: worker-ht
65+
- machineConfigPoolSelector:
66+
matchLabels:
67+
machineconfiguration.openshift.io/role: worker-cnf
68+
- machineConfigPoolSelector:
69+
matchLabels:
70+
machineconfiguration.openshift.io/role: worker-other
71+
----
72+
5073
.Verification
5174

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

0 commit comments

Comments
 (0)