diff --git a/stable/influxdb/Chart.yaml b/stable/influxdb/Chart.yaml index 4d120f6e2b..bf93790f0d 100755 --- a/stable/influxdb/Chart.yaml +++ b/stable/influxdb/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: influxdb -version: 1.4.1 +version: 1.5.0 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 09dc6f69ae..5e1ea0913c 100644 --- a/stable/influxdb/templates/deployment.yaml +++ b/stable/influxdb/templates/deployment.yaml @@ -70,6 +70,14 @@ spec: port: api initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds | default 5 }} timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds | default 1 }} + {{- if .Values.startupProbe.enabled }} + startupProbe: + httpGet: + path: {{ .Values.startupProbe.probePath }} + port: api + failureThreshold: {{ .Values.startupProbe.failureThreshold | default 6 }} + periodSeconds: {{ .Values.startupProbe.periodSeconds | default 5 }} + {{- end }} volumeMounts: - name: data mountPath: {{ .Values.config.storage_directory }} diff --git a/stable/influxdb/values.yaml b/stable/influxdb/values.yaml index 18bfa86a78..29bcbe34ae 100644 --- a/stable/influxdb/values.yaml +++ b/stable/influxdb/values.yaml @@ -17,6 +17,12 @@ livenessProbe: readinessProbe: probePath: "/ping" +startupProbe: + enabled: false + probePath: "/ping" + # failureThreshold: 6 + # periodSeconds: 5 + ## Specify a service type ## NodePort is default ## ref: http://kubernetes.io/docs/user-guide/services/