This commit adds OSD containers activate with numactl support.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1684146
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
#
#ceph_osd_docker_extra_env:
#ceph_osd_docker_run_script_path: "/usr/share" # script called by systemd to run the docker command
-
+#ceph_osd_numactl_opts: ""
###########
# SYSTEMD #
#
ceph_osd_docker_extra_env:
ceph_osd_docker_run_script_path: "/usr/share" # script called by systemd to run the docker command
-
+ceph_osd_numactl_opts: ""
###########
# SYSTEMD #
# MAIN #
########
+{% if ceph_osd_numactl_opts != "" %}
+numactl \
+{{ ceph_osd_numactl_opts }} \
+{% endif %}
/usr/bin/{{ container_binary }} run \
--rm \
--net=host \