Skip to content

Commit 18b092b

Browse files
committed
updates for BZ2093247 - workload partitioning must be applied at install time, and can only be updated post-installation, not disabled
1 parent 239f034 commit 18b092b

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A key feature to enable as part of a {sno} installation is workload partitioning
1010

1111
[NOTE]
1212
====
13-
Workload partitioning must be applied during installation.
13+
You can enable workload partitioning during the cluster installation process only. You cannot disable workload partitioning post-installation. However, you can reconfigure workload partitioning by updating the `cpu` value that you define in the `performanceprofile`, and in the MachineConfig CR in the following procedure.
1414
====
1515

1616
.Procedure
@@ -34,7 +34,7 @@ spec:
3434
storage:
3535
files:
3636
- contents:
37-
source: data:text/plain;charset=utf-8;base64,W2NyaW8ucnVudGltZS53b3JrbG9hZHMubWFuYWdlbWVudF0KYWN0aXZhdGlvbl9hbm5vdGF0aW9uID0gInRhcmdldC53b3JrbG9hZC5vcGVuc2hpZnQuaW8vbWFuYWdlbWVudCIKYW5ub3RhdGlvbl9wcmVmaXggPSAicmVzb3VyY2VzLndvcmtsb2FkLm9wZW5zaGlmdC5pbyIKcmVzb3VyY2VzID0geyAiY3B1c2hhcmVzIiA9IDAsICJjcHVzZXQiID0gIjAtMSw1Mi01MyIgfQo=
37+
source: data:text/plain;charset=utf-8;base64,W2NyaW8ucnVudGltZS53b3JrbG9hZHMubWFuYWdlbWVudF0KYWN0aXZhdGlvbl9hbm5vdGF0aW9uID0gInRhcmdldC53b3JrbG9hZC5vcGVuc2hpZnQuaW8vbWFuYWdlbWVudCIKYW5ub3RhdGlvbl9wcmVmaXggPSAicmVzb3VyY2VzLndvcmtsb2FkLm9wZW5zaGlmdC5pbyIKW2NyaW8ucnVudGltZS53b3JrbG9hZHMubWFuYWdlbWVudC5yZXNvdXJjZXNdCmNwdXNoYXJlcyA9IDAKQ1BVcyA9ICIwLTEsIDUyLTUzIgo=
3838
mode: 420
3939
overwrite: true
4040
path: /etc/crio/crio.conf.d/01-workload-partitioning
@@ -56,11 +56,13 @@ spec:
5656
[crio.runtime.workloads.management]
5757
activation_annotation = "target.workload.openshift.io/management"
5858
annotation_prefix = "resources.workload.openshift.io"
59-
resources = { "cpushares" = 0, "cpuset" = "0-1,52-53" } <1>
59+
[crio.runtime.workloads.management.resources]
60+
cpushares = 0
61+
CPUs = "0-1, 52-53" <1>
6062
----
61-
<1> The `cpuset` value will vary based on the installation.
63+
<1> The `CPUs` value varies based on the installation.
6264
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.
65+
If Hyper-Threading is enabled, specify both threads of each core. The `CPUs` value must match the reserved CPU set specified in the performance profile.
6466

6567

6668
This content should be base64 encoded and provided in the `01-workload-partitioning-content` in the manifest above.
@@ -75,6 +77,6 @@ This content should be base64 encoded and provided in the `01-workload-partition
7577
}
7678
}
7779
----
78-
<1> The `cpuset` must match the value in `/etc/crio/crio.conf.d/01-workload-partitioning`.
80+
<1> The `cpuset` must match the `CPUs` value in `/etc/crio/crio.conf.d/01-workload-partitioning`.
7981
8082
This content should be base64 encoded and provided in the `openshift-workload-pinning-content` in the preceding manifest.

0 commit comments

Comments
 (0)