summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Wozniak <jwozniak@redhat.com>2017-06-14 15:48:39 +0200
committerJan Wozniak <jwozniak@redhat.com>2017-06-14 15:48:39 +0200
commit42ac2ba44d1568a0073bbc036dd886d92a3975db (patch)
treeaa02b541d1d2f72717958ff2e69202a3b62661b3
parentbf21ad12cf4e61e62d8685fbf190fa2f58602acf (diff)
downloadopenshift-42ac2ba44d1568a0073bbc036dd886d92a3975db.tar.gz
openshift-42ac2ba44d1568a0073bbc036dd886d92a3975db.tar.bz2
openshift-42ac2ba44d1568a0073bbc036dd886d92a3975db.tar.xz
openshift-42ac2ba44d1568a0073bbc036dd886d92a3975db.zip
logging: write ES heap dump to persistent storage
-rw-r--r--roles/openshift_logging_elasticsearch/templates/es.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_logging_elasticsearch/templates/es.j2 b/roles/openshift_logging_elasticsearch/templates/es.j2
index bd2289f0d..609d72f1a 100644
--- a/roles/openshift_logging_elasticsearch/templates/es.j2
+++ b/roles/openshift_logging_elasticsearch/templates/es.j2
@@ -75,6 +75,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}}"
-