Skip to content

Commit 1949e3c

Browse files
committed
Memory manager requires capital S Static policy
1 parent 49f9460 commit 1949e3c

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

modules/cnf-deploying-the-numa-aware-scheduler.adoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ spec:
3838
matchLabels:
3939
cnf-worker-tuning: enabled
4040
kubeletConfig:
41-
cpuManagerPolicy: "static"
41+
cpuManagerPolicy: "static" <1>
4242
cpuManagerReconcilePeriod: "5s"
4343
reservedSystemCPUs: "0,1"
44-
memoryManagerPolicy: "Static"
44+
memoryManagerPolicy: "Static" <2>
4545
evictionHard:
4646
memory.available: "100Mi"
4747
kubeReserved:
@@ -52,10 +52,12 @@ spec:
5252
memory: "1124Mi"
5353
systemReserved:
5454
memory: "512Mi"
55-
topologyManagerPolicy: "single-numa-node" <1>
55+
topologyManagerPolicy: "single-numa-node" <3>
5656
topologyManagerScope: "pod"
5757
----
58-
<1> Set the `topologyManagerPolicy` field to `single-numa-node`.
58+
<1> For `cpuManagerPolicy`, `static` must use a lowercase `s`.
59+
<2> For `memoryManagerPolicy`, `Static` must use an uppercase `S`.
60+
<3> `topologyManagerPolicy` must be set to `single-numa-node`.
5961

6062
.. Create the `KubeletConfig` custom resource (CR) by running the following command:
6163
+

modules/setting-up-cpu-manager.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ spec:
5252
----
5353
<1> Specify a policy:
5454
* `none`. This policy explicitly enables the existing default CPU affinity scheme, providing no affinity beyond what the scheduler does automatically.
55-
* `static`. This policy allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node.
55+
* `static`. This policy allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. If `static`, you must use a lowercase `s`.
5656
<2> Optional. Specify the CPU Manager reconcile frequency. The default is `5s`.
57-
57+
5858
. Create the dynamic kubelet config:
5959
+
6060
[source,terminal]

modules/setting-up-topology-manager.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ spec:
3939
cpuManagerReconcilePeriod: 5s
4040
topologyManagerPolicy: single-numa-node <2>
4141
----
42-
<1> This parameter must be `static`.
42+
<1> This parameter must be `static` with a lowercase `s`.
4343
<2> Specify your selected Topology Manager allocation policy. Here, the policy is `single-numa-node`.
4444
Acceptable values are: `default`, `best-effort`, `restricted`, `single-numa-node`.

modules/wmco-prerequisites.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ a|* Windows Server 2022 Long-Term Servicing Channel (LTSC). OS Build link:https:
2828
|Windows Server 2022 Long-Term Servicing Channel (LTSC). OS Build link:https://support.microsoft.com/en-us/topic/april-25-2022-kb5012637-os-build-20348-681-preview-2233d69c-d4a5-4be9-8c24-04a450861a8d[20348.681] or later.
2929

3030
|Bare metal or provider agnostic
31-
|Windows Server 2022 Long-Term Servicing Channel (LTSC). OS Build link:https://support.microsoft.com/en-us/topic/april-25-2022-kb5012637-os-build-20348-681-preview-2233d69c-d4a5-4be9-8c24-04a450861a8d[20348.681] or later.
32-
31+
a|* Windows Server 2022 Long-Term Servicing Channel (LTSC). OS Build link:https://support.microsoft.com/en-us/topic/april-25-2022-kb5012637-os-build-20348-681-preview-2233d69c-d4a5-4be9-8c24-04a450861a8d[20348.681] or later.
32+
* Windows Server 2019, version 1809 Long-Term Servicing Channel (LTSC)
3333
|===
3434

3535
== Supported networking

0 commit comments

Comments
 (0)