Skip to content

Commit 8193928

Browse files
authored
Merge pull request #45266 from sheriff-rh/bz2078943
bz2078943 updated workload partitioning procedure
2 parents dda9003 + 1a8e680 commit 8193928

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

modules/sno-du-enabling-workload-partitioning.adoc

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,33 @@ spec:
4848
user:
4949
name: root
5050
----
51+
52+
* The contents of `/etc/crio/crio.conf.d/01-workload-partitioning` should look like this:
53+
+
54+
[source,text]
55+
----
56+
[crio.runtime.workloads.management]
57+
activation_annotation = "target.workload.openshift.io/management"
58+
annotation_prefix = "resources.workload.openshift.io"
59+
resources = { "cpushares" = 0, "cpuset" = "0-1,52-53" } <1>
60+
----
61+
<1> The `cpuset` value will vary based on the installation.
62+
63+
If Hyper-Threading is enabled, specify both threads of each core. The `cpuset` must match the reserved CPU set specified in the performance profile.
64+
65+
66+
This content should be base64 encoded and provided in the `01-workload-partitioning-content` in the manifest above.
67+
68+
* The contents of `/etc/kubernetes/openshift-workload-pinning` should look like this:
69+
+
70+
[source,javascript]
71+
----
72+
{
73+
"management": {
74+
"cpuset": "0-1,52-53" <1>
75+
}
76+
}
77+
----
78+
<1> The `cpuset` must match the value in `/etc/crio/crio.conf.d/01-workload-partitioning`.
79+
80+
This content should be base64 encoded and provided in the `openshift-workload-pinning-content` in the preceding manifest.

0 commit comments

Comments
 (0)