# These options can be passed using the 'ceph_mds_docker_extra_env' variable.
# TCMU_RUNNER resource limitation
-#ceph_tcmu_runner_docker_memory_limit: 1g
+#ceph_tcmu_runner_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_tcmu_runner_docker_cpu_limit: 1
# RBD_TARGET_GW resource limitation
-#ceph_rbd_target_gw_docker_memory_limit: 1g
+#ceph_rbd_target_gw_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_rbd_target_gw_docker_cpu_limit: 1
# RBD_TARGET_API resource limitation
-#ceph_rbd_target_api_docker_memory_limit: 1g
+#ceph_rbd_target_api_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_rbd_target_api_docker_cpu_limit: 1
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_mds_docker_extra_env' variable.
-#ceph_mds_docker_memory_limit: 4g
+#ceph_mds_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_mds_docker_cpu_limit: 1
# we currently for MDS_NAME to hostname because of a bug in ceph-docker
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_mgr_docker_extra_env' variable.
-#ceph_mgr_docker_memory_limit: 1g
+#ceph_mgr_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_mgr_docker_cpu_limit: 1
#ceph_mgr_docker_extra_env:
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_mon_docker_extra_env' variable.
-#ceph_mon_docker_memory_limit: 3g
+#ceph_mon_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_mon_docker_cpu_limit: 1
# Use this variable to add extra env configuration to run your mon container.
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_osd_docker_extra_env' variable.
-#ceph_osd_docker_memory_limit: 5g
+#ceph_osd_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_osd_docker_cpu_limit: 1
# The next two variables are undefined, and thus, unused by default.
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_rbd_mirror_docker_extra_env' variable.
-#ceph_rbd_mirror_docker_memory_limit: 1g
+#ceph_rbd_mirror_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_rbd_mirror_docker_cpu_limit: 1
#ceph_rbd_mirror_docker_extra_env:
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_rgw_docker_extra_env' variable.
-#ceph_rgw_docker_memory_limit: 1g
+#ceph_rgw_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_rgw_docker_cpu_limit: 1
#ceph_rgw_docker_extra_env:
# These options can be passed using the 'ceph_mds_docker_extra_env' variable.
# TCMU_RUNNER resource limitation
-ceph_tcmu_runner_docker_memory_limit: 1g
+ceph_tcmu_runner_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_tcmu_runner_docker_cpu_limit: 1
# RBD_TARGET_GW resource limitation
-ceph_rbd_target_gw_docker_memory_limit: 1g
+ceph_rbd_target_gw_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_rbd_target_gw_docker_cpu_limit: 1
# RBD_TARGET_API resource limitation
-ceph_rbd_target_api_docker_memory_limit: 1g
+ceph_rbd_target_api_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_rbd_target_api_docker_cpu_limit: 1
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_mds_docker_extra_env' variable.
-ceph_mds_docker_memory_limit: 4g
+ceph_mds_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_mds_docker_cpu_limit: 1
# we currently for MDS_NAME to hostname because of a bug in ceph-docker
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_mgr_docker_extra_env' variable.
-ceph_mgr_docker_memory_limit: 1g
+ceph_mgr_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_mgr_docker_cpu_limit: 1
ceph_mgr_docker_extra_env:
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_mon_docker_extra_env' variable.
-ceph_mon_docker_memory_limit: 3g
+ceph_mon_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_mon_docker_cpu_limit: 1
# Use this variable to add extra env configuration to run your mon container.
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_osd_docker_extra_env' variable.
-ceph_osd_docker_memory_limit: 5g
+ceph_osd_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_osd_docker_cpu_limit: 1
# The next two variables are undefined, and thus, unused by default.
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_rbd_mirror_docker_extra_env' variable.
-ceph_rbd_mirror_docker_memory_limit: 1g
+ceph_rbd_mirror_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_rbd_mirror_docker_cpu_limit: 1
ceph_rbd_mirror_docker_extra_env:
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_rgw_docker_extra_env' variable.
-ceph_rgw_docker_memory_limit: 1g
+ceph_rgw_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_rgw_docker_cpu_limit: 1
ceph_rgw_docker_extra_env: