diff --git a/stable/elasticsearch/Chart.yaml b/stable/elasticsearch/Chart.yaml index 987059a42a..b692ddbc05 100755 --- a/stable/elasticsearch/Chart.yaml +++ b/stable/elasticsearch/Chart.yaml @@ -1,6 +1,6 @@ name: elasticsearch home: https://www.elastic.co/products/elasticsearch -version: 1.18.0 +version: 1.18.1 appVersion: 6.6.0 description: Flexible and powerful open source, distributed real-time search and analytics engine. diff --git a/stable/elasticsearch/README.md b/stable/elasticsearch/README.md index ffb1df3a58..5fd040f6ec 100644 --- a/stable/elasticsearch/README.md +++ b/stable/elasticsearch/README.md @@ -112,6 +112,7 @@ The following table lists the configurable parameters of the elasticsearch chart | `master.persistence.size` | Master persistent volume size | `4Gi` | | `master.persistence.storageClass` | Master persistent volume Class | `nil` | | `master.persistence.accessMode` | Master persistent Access Mode | `ReadWriteOnce` | +| `master.readinessProbe` | Master container readiness probes | see `values.yaml` for defaults | | `master.antiAffinity` | Master anti-affinity policy | `soft` | | `master.nodeAffinity` | Master node affinity policy | `{}` | | `master.updateStrategy` | Master node update strategy policy | `{type: "onDelete"}` | @@ -128,6 +129,7 @@ The following table lists the configurable parameters of the elasticsearch chart | `data.persistence.size` | Data persistent volume size | `30Gi` | | `data.persistence.storageClass` | Data persistent volume Class | `nil` | | `data.persistence.accessMode` | Data persistent Access Mode | `ReadWriteOnce` | +| `data.readinessProbe` | Readiness probes for data-containers | see `values.yaml` for defaults | | `data.podAnnotations` | Data StatefulSet annotations | `{}` | | `data.nodeSelector` | Node labels for data pod assignment | `{}` | | `data.tolerations` | Data tolerations | `[]` | diff --git a/stable/elasticsearch/templates/data-statefulset.yaml b/stable/elasticsearch/templates/data-statefulset.yaml index 902dccde9c..94dd00ab9e 100644 --- a/stable/elasticsearch/templates/data-statefulset.yaml +++ b/stable/elasticsearch/templates/data-statefulset.yaml @@ -132,10 +132,7 @@ spec: resources: {{ toYaml .Values.data.resources | indent 12 }} readinessProbe: - httpGet: - path: /_cluster/health?local=true - port: 9200 - initialDelaySeconds: 5 +{{ toYaml .Values.data.readinessProbe | indent 10 }} volumeMounts: - mountPath: /usr/share/elasticsearch/data name: data diff --git a/stable/elasticsearch/templates/master-statefulset.yaml b/stable/elasticsearch/templates/master-statefulset.yaml index 31179dec9e..00ee762431 100644 --- a/stable/elasticsearch/templates/master-statefulset.yaml +++ b/stable/elasticsearch/templates/master-statefulset.yaml @@ -127,10 +127,7 @@ spec: resources: {{ toYaml .Values.master.resources | indent 12 }} readinessProbe: - httpGet: - path: /_cluster/health?local=true - port: 9200 - initialDelaySeconds: 5 +{{ toYaml .Values.master.readinessProbe | indent 10 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy | quote }} ports: diff --git a/stable/elasticsearch/values.yaml b/stable/elasticsearch/values.yaml index f3ec64f9e4..1e5618767d 100644 --- a/stable/elasticsearch/values.yaml +++ b/stable/elasticsearch/values.yaml @@ -125,6 +125,11 @@ master: name: data size: "4Gi" # storageClass: "ssd" + readinessProbe: + httpGet: + path: /_cluster/health?local=true + port: 9200 + initialDelaySeconds: 5 antiAffinity: "soft" nodeAffinity: {} nodeSelector: {} @@ -166,6 +171,11 @@ data: name: data size: "30Gi" # storageClass: "ssd" + readinessProbe: + httpGet: + path: /_cluster/health?local=true + port: 9200 + initialDelaySeconds: 5 terminationGracePeriodSeconds: 3600 antiAffinity: "soft" nodeAffinity: {}