From e6a16fbfc01060d8c9cb825f763b8ca6abe43820 Mon Sep 17 00:00:00 2001 From: Yann Simon Date: Sat, 13 Oct 2018 20:11:31 +0200 Subject: [PATCH] [incubator/elasticsearch] local only liveness (#7639) Elasticsearch clients can be alive as soon as the node itself can accept connection. It does not need to be attached to a cluster. https://www.elastic.co/guide/en/elasticsearch/reference/6.4/cluster-state.html#cluster-state Signed-off-by: Yann Simon --- incubator/elasticsearch/Chart.yaml | 2 +- incubator/elasticsearch/templates/client-deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/incubator/elasticsearch/Chart.yaml b/incubator/elasticsearch/Chart.yaml index 1db2709a1e..9600a4e21b 100755 --- a/incubator/elasticsearch/Chart.yaml +++ b/incubator/elasticsearch/Chart.yaml @@ -1,6 +1,6 @@ name: elasticsearch home: https://www.elastic.co/products/elasticsearch -version: 1.10.0 +version: 1.10.1 appVersion: 6.4.2 description: Flexible and powerful open source, distributed real-time search and analytics engine. diff --git a/incubator/elasticsearch/templates/client-deployment.yaml b/incubator/elasticsearch/templates/client-deployment.yaml index e648c3cbc3..23ff9ede30 100644 --- a/incubator/elasticsearch/templates/client-deployment.yaml +++ b/incubator/elasticsearch/templates/client-deployment.yaml @@ -106,7 +106,7 @@ spec: initialDelaySeconds: 5 livenessProbe: httpGet: - path: /_cluster/health + path: /_cluster/health?local=true port: 9200 initialDelaySeconds: 90 image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"