]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
mon/osd: bump container memory limit
authorSébastien Han <seb@redhat.com>
Fri, 15 Jun 2018 19:39:34 +0000 (15:39 -0400)
committerSébastien Han <seb@redhat.com>
Sun, 17 Jun 2018 15:20:27 +0000 (11:20 -0400)
As discussed with the cores, the current limits are too low and should
be bumped to higher value.
So now by default monitors get 3GB and OSDs get 5GB.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1591876
Signed-off-by: Sébastien Han <seb@redhat.com>
group_vars/mons.yml.sample
group_vars/osds.yml.sample
roles/ceph-mon/defaults/main.yml
roles/ceph-osd/defaults/main.yml

index d65547739bbcba5a0fdc23db84964c7ca1192df6..1fea4bf70afe556449a521354181f30e67d6959e 100644 (file)
@@ -77,7 +77,7 @@ dummy:
 # 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: 1g
+#ceph_mon_docker_memory_limit: 3g
 #ceph_mon_docker_cpu_limit: 1
 
 # Use this variable to add extra env configuration to run your mon container.
index d3ea98c7dc9dc024008ce62b98e85d62153a7c13..a00918811d25298d9ef2bb4e932f136611cebc29 100644 (file)
@@ -237,7 +237,7 @@ dummy:
 # 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: 3g
+#ceph_osd_docker_memory_limit: 5g
 #ceph_osd_docker_cpu_limit: 1
 
 # The next two variables are undefined, and thus, unused by default.
index 09183253f5a72f97d07b43a7c0eb39755f327fc0..513f21d28ee7a7dd49a935219e0c11cdfd3fc3c3 100644 (file)
@@ -69,7 +69,7 @@ create_crush_tree: false
 # 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: 1g
+ceph_mon_docker_memory_limit: 3g
 ceph_mon_docker_cpu_limit: 1
 
 # Use this variable to add extra env configuration to run your mon container.
index 1b63433e75109cab98273f02e6c57a066c7b3860..c33d5447f3046985a3f59ffecf0d2375397e8efe 100644 (file)
@@ -229,7 +229,7 @@ ceph_config_keys: [] # DON'T TOUCH ME
 # 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: 3g
+ceph_osd_docker_memory_limit: 5g
 ceph_osd_docker_cpu_limit: 1
 
 # The next two variables are undefined, and thus, unused by default.