[stable/elasticsearch] make readiness probes configurable (#11114)

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
David J. M. Karlsen
2019-02-04 03:09:00 -08:00
committed by Kubernetes Prow Robot
parent 153b7c3a01
commit a59133396d
5 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -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.
+2
View File
@@ -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 | `[]` |
@@ -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
@@ -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:
+10
View File
@@ -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: {}