Commit 7a404866 authored by Zach Seils's avatar Zach Seils Committed by Kubernetes Prow Robot

[stable/InfluxDB] Make livenessProbe and readinessProbe path configurable. (#15166)

* Make livenessProbe and readinessProbe path configurable. Signed-off-by: 's avatarZach Seils <zachseils@google.com> * Make livenessProbe and readinessProbe path configurable. Signed-off-by: 's avatarZach Seils <zachseils@google.com>
parent 92dcebbe
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:
......
......@@ -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 }}
......
......@@ -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/
......
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