mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
3da8e22b25
commit
a224031d60
@@ -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 }}
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user