kubernetes/cluster/addons/fluentd-elasticsearch
Angus Lees 85378ad34f Arrange for elasticsearch to shutdown cleanly
Kubernetes initiates "graceful shutdown" by sending SIGTERM to pid 1.
The way the existing startup scripts worked, this signal arrived at
the shell wrapper, not elasticsearch, and the shell wrapper exited,
killing the container immediately.

Before this change:
    1 ?        Ss     0:00 /bin/sh -c /run.sh
    6 ?        S      0:00 /bin/bash /run.sh
   13 ?        S      0:00  \_ /bin/su -c /elasticsearch/bin/elasticsearch elasticsearch
   14 ?        Ss     0:00      \_ sh -c /elasticsearch/bin/elasticsearch
   15 ?        Sl    19:18          \_ /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java ... org.elasticsearch.bootstrap.Elasticsearch start

After this change:
    1 ?        Ssl    0:29 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java ... org.elasticsearch.bootstrap.Elasticsearch start
2017-03-08 10:16:28 +11:00
..
es-image Arrange for elasticsearch to shutdown cleanly 2017-03-08 10:16:28 +11:00
fluentd-es-image Update images that use ubuntu-slim base image to :0.6 2017-01-11 15:07:04 -08:00
kibana-image Update images that use ubuntu-slim base image to :0.6 2017-01-11 15:07:04 -08:00
es-controller.yaml Arrange for elasticsearch to shutdown cleanly 2017-03-08 10:16:28 +11:00
es-service.yaml Adds the new addon-manager labels on cluster addon templates 2017-02-24 16:53:12 -08:00
fluentd-es-ds.yaml Update addons yaml files. 2017-02-27 09:21:59 -05:00
kibana-controller.yaml Adds the new addon-manager labels on cluster addon templates 2017-02-24 16:53:12 -08:00
kibana-service.yaml Adds the new addon-manager labels on cluster addon templates 2017-02-24 16:53:12 -08:00
OWNERS OWNERS: Update latest OWNERS files 2017-01-23 10:05:48 -08:00