Commit 27cbda29 authored by Jason Harris's avatar Jason Harris Committed by Kubernetes Prow Robot

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

* [stable/influxdb] add startup probe Signed-off-by: 's avatarJason Harris <1337reloaded@gmail.com> * [stable/influxdb] remove trailing whitespace Signed-off-by: 's avatarJason Harris <1337reloaded@gmail.com>
parent 8c7cef42
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 }}
......
......@@ -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/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment