Browse Source

Merge pull request #4451 from wozniakjan/logging_es_heap_dump

logging: write ES heap dump to persistent storage
Scott Dodson 7 years ago
parent
commit
f1f460f79c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      roles/openshift_logging_elasticsearch/templates/es.j2

+ 3 - 0
roles/openshift_logging_elasticsearch/templates/es.j2

@@ -78,6 +78,9 @@ spec:
               name: "INSTANCE_RAM"
               value: "{{openshift_logging_elasticsearch_memory_limit}}"
             -
+              name: "HEAP_DUMP_LOCATION" 
+              value: "/elasticsearch/persistent/heapdump.hprof"
+            -
               name: "NODE_QUORUM"
               value: "{{es_node_quorum | int}}"
             -