openstack-helm-infra/elasticsearch
Phil Sphicas 03e7fedb2b Fix elasticsearch-data shutdown
The shutdown script for the elasticsearch-data container uses a trap
handler to run the steps outlined in the rolling restart procedure [0].
However, when trying to kill the elasticsearch process (step 3), the
script sends the TERM signal to itself.

The traps are handled recursively, causing the entire termination grace
period to be exhausted before the pod is finally removed.

This change updates the trap handler to terminate the child process(es)
instead, and wait for their completion.

0: https://www.elastic.co/guide/en/elasticsearch/reference/7.x/restart-cluster.html

Change-Id: I0c92ea5cce345cff951f044026a2179dcbd5a3e2
2022-03-16 16:04:15 -07:00
..
templates Fix elasticsearch-data shutdown 2022-03-16 16:04:15 -07:00
values_overrides Enable TLS path between Curator and Elasticsearch 2021-08-11 18:28:05 +00:00
Chart.yaml Fix elasticsearch-data shutdown 2022-03-16 16:04:15 -07:00
requirements.yaml Update htk requirements 2021-10-06 01:02:28 +00:00
values.yaml Enable TLS path between Prometheus-elasticsearch-exporter and Elasticsearch 2021-08-06 10:02:18 -07:00