diff options
author | Jan Wozniak <jwozniak@redhat.com> | 2017-06-14 15:48:39 +0200 |
---|---|---|
committer | Jan Wozniak <jwozniak@redhat.com> | 2017-06-14 15:48:39 +0200 |
commit | 42ac2ba44d1568a0073bbc036dd886d92a3975db (patch) | |
tree | aa02b541d1d2f72717958ff2e69202a3b62661b3 | |
parent | bf21ad12cf4e61e62d8685fbf190fa2f58602acf (diff) | |
download | openshift-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.j2 | 3 |
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}}" - |