[stable/influxdb] Add startup probe to stable/influxdb deployment (#18168)

* [stable/influxdb] add startup probe

Signed-off-by: Jason Harris <1337reloaded@gmail.com>

* [stable/influxdb] remove trailing whitespace

Signed-off-by: Jason Harris <1337reloaded@gmail.com>
This commit is contained in:
Jason Harris
2019-10-22 18:52:13 -07:00
committed by Kubernetes Prow Robot
parent 3da8e22b25
commit a224031d60
3 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -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:
@@ -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 }}
+6
View File
@@ -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/