The goal is to have PMem devices exposed as a system-ram after system reboots, when PMem dimms are ready. In order to achieve that following command
daxctl reconfigure-device --mode=system-ram all
should be executed before kubelet.service
starts but not earlier than PMem dimms are available in the OS.
This way kubelet and Docker will have visibility on all /sys/fs/cgroup/cpuset/cpuset.mems
available on the host node
(additional PMem NUMA nodes).
Run steps below:
- Copy
dax*
files to/etc/systemd/system/
:
cp dax* /etc/systemd/system/
- Enable necessary unit:
systemctl enable dax-waitdev.path