kubernetes/cluster/addons/fluentd-elasticsearch
Kubernetes Submit Queue 17793bccb9 Merge pull request #42630 from anguslees/elasticsearch
Automatic merge from submit-queue (batch tested with PRs 41830, 42630)

Arrange for elasticsearch to shutdown cleanly

Kubernetes initiates "graceful shutdown" by sending SIGTERM to pid 1, which
is exactly what elasticsearch is expecting (good!)

The way the existing startup scripts worked however, this signal arrived at
the shell wrapper, not elasticsearch, and the shell wrapper exited,
killing the container immediately (bad!)

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-10 16:21:20 -08:00
..
es-image Fix metav1 typo in previous commit 2017-03-10 11:24:22 +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 Fix username case in OWNERS files 2017-03-07 16:45:40 -08:00