]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ironbelly.rb
Configure elasticsearch disk thresholds on ironbelly
[chef.git] / roles / ironbelly.rb
index 029c54b4038bceb153c536cbb68b0be52ba2ce54..098568265d6a8eac79bc65202b6d0f236cf6bf4d 100644 (file)
@@ -6,6 +6,18 @@ default_attributes(
     :sources => ["ubuntugis-unstable"]
   },
   :elasticsearch => {
+    :cluster => {
+      :routing => {
+        :allocation => {
+          :disk => {
+            :watermark => {
+              :low => "95%",
+              :high => "98%"
+            }
+          }
+        }
+      }
+    },
     :path => {
       :data => "/store/elasticsearch"
     }