File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments