diff --git a/stable/influxdb/Chart.yaml b/stable/influxdb/Chart.yaml index d19a25134af5ba77d2374705b8ea2f1da36fc5bf..2cfd5c01eca30a1d2e615f4c23d94848938d6393 100755 --- a/stable/influxdb/Chart.yaml +++ b/stable/influxdb/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: influxdb -version: 1.3.3 +version: 1.3.4 appVersion: 1.7.6 description: Scalable datastore for metrics, events, and real-time analytics. keywords: diff --git a/stable/influxdb/templates/deployment.yaml b/stable/influxdb/templates/deployment.yaml index 687917cce0bf62247c17a85a9ddd895fc5b12245..9e9f5576909bbaf7865d3dda3ad167f4b1af3b37 100644 --- a/stable/influxdb/templates/deployment.yaml +++ b/stable/influxdb/templates/deployment.yaml @@ -56,16 +56,16 @@ spec: {{- end }} livenessProbe: httpGet: - path: /ping + path: {{ .Values.livenessProbe.probePath }} port: api - initialDelaySeconds: 30 - timeoutSeconds: 5 + initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 30 }} + timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds | default 5 }} readinessProbe: httpGet: - path: /ping + path: {{ .Values.readinessProbe.probePath }} port: api - initialDelaySeconds: 5 - timeoutSeconds: 1 + initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds | default 5 }} + timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds | default 1 }} volumeMounts: - name: data mountPath: {{ .Values.config.storage_directory }} diff --git a/stable/influxdb/values.yaml b/stable/influxdb/values.yaml index 226a5f66a18d1e1019da23f6c4b9a94b93a1af26..7a2278ad1cab11afdce936138b072594b92cdf96 100644 --- a/stable/influxdb/values.yaml +++ b/stable/influxdb/values.yaml @@ -8,6 +8,15 @@ image: # pullSecrets: # - registry-secret +## Customize livenessProbe and readinessProbe +## ref: https://docs.influxdata.com/influxdb/v1.7/tools/api/#ping-http-endpoint +## +livenessProbe: + probePath: "/ping" + +readinessProbe: + probePath: "/ping" + ## Specify a service type ## NodePort is default ## ref: http://kubernetes.io/docs/user-guide/services/