1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/virt-NUMA-prereqs.adoc
2025-11-18 16:29:25 +01:00

28 lines
840 B
Plaintext

// Module included in the following assemblies:
//
// * /virt/managing_vms/advanced_vm_management/virt-NUMA-topology.adoc
:_mod-docs-content-type: REFERENCE
[id="virt-NUMA-prereqs_{context}"]
= Prerequisites
[role="_abstract"]
Before you can enable NUMA functionality with {VirtProductName} VMs, you must ensure that your environment meets the following prerequisites.
* Worker nodes must have huge pages enabled.
* The `KubeletConfig` object on worker nodes must be configured with the `cpuManagerPolicy: static` spec to guarantee dedicated CPU allocation, which is a prerequisite for NUMA pinning.
+
Example `cpuManagerPolicy: static` spec:
+
[source,yaml]
----
apiVersion: machineconfiguration.openshift.io/v1
kind: KubeletConfig
metadata:
name: cpu-numa-static-config
spec:
kubeletConfig:
cpuManagerPolicy: static
# ...
----