Updates for BZ2093247 - adding details of workload partitioning
BZ#2093247: Adding some detail that workload partitioning can only be applied at install time, cannot be disabled post-install, but can be reconfigured post-install.
Version(s): 4.9+
Issue: https://bugzilla.redhat.com/show_bug.cgi?id=2093247
Link to docs preview: http://file.emea.redhat.com/rohennes/BZ2093247/scalability_and_performance/sno-du-enabling-workload-partitioning-on-single-node-openshift.html#sno-du-enabling-workload-partitioning_sno-du-enabling-workload-partitioning-on-single-node-openshift
The contents of /etc/crio/crio.conf.d/01-workload-partitioning is not correct, the line 59 should be: [crio.runtime.workloads.management.resources] cpushares = 0 CPUs = "0-1, 52-53"
I have tested, only using this format can lead to workloads resources(cpu) take effect.
Hi @lyman9966,
Should the original text: [crio.runtime.workloads.management] activation_annotation = "target.workload.openshift.io/management" annotation_prefix = "resources.workload.openshift.io" resources = { "cpushares" = 0, "cpuset" = "0-1,52-53" }
Be changed to this: [crio.runtime.workloads.management] activation_annotation = "target.workload.openshift.io/management" annotation_prefix = "resources.workload.openshift.io"
[crio.runtime.workloads.management.resources] cpushares = 0 CPUs = "0-1, 52-53"
Or perhaps can you send me the actual file so I can see it exactly? Thank you!
yeah, just delete the blank line,like: [crio.runtime.workloads.management] activation_annotation = "target.workload.openshift.io/management" annotation_prefix = "resources.workload.openshift.io" [crio.runtime.workloads.management.resources] cpushares = 0 CPUs = "0-1, 52-53"
And line 37 should changed to: source: data:text/plain;charset=utf-8;base64,W2NyaW8ucnVudGltZS53b3JrbG9hZHMubWFuYWdlbWVudF0KYWN0aXZhdGlvbl9hbm5vdGF0aW9uID0gInRhcmdldC53b3JrbG9hZC5vcGVuc2hpZnQuaW8vbWFuYWdlbWVudCIKYW5ub3RhdGlvbl9wcmVmaXggPSAicmVzb3VyY2VzLndvcmtsb2FkLm9wZW5zaGlmdC5pbyIKW2NyaW8ucnVudGltZS53b3JrbG9hZHMubWFuYWdlbWVudC5yZXNvdXJjZXNdCmNwdXNoYXJlcyA9IDAKQ1BVcyA9ICIwLTEsIDUyLTUzIgo=
/lgtm
New changes are detected. LGTM label has been removed.
@rohennes A couple of tiny nits. Otherwise LGTM
/cherrypick enterprise-4.9
@mburke5678: new pull request created: #49389
In response to this:
/cherrypick enterprise-4.9
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/cherrypick enterprise-4.10
/cherrypick enterprise-4.11
/cherrypick enterprise-4.12
@mburke5678: new pull request created: #49390
In response to this:
/cherrypick enterprise-4.10
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@mburke5678: new pull request created: #49391
In response to this:
/cherrypick enterprise-4.11
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@mburke5678: new pull request created: #49392
In response to this:
/cherrypick enterprise-4.12
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.