Unverified Commit 79b663c3 authored by krisero's avatar krisero Committed by GitHub

Allow to customize healthchcks for liveness, readiness, startup probes (#200)

* Allow to customize healthchcks for liveness, readiness, startup probes * Version bump
parent a524647c
apiVersion: v1
name: influxdb
version: 4.8.5
version: 4.8.6
appVersion: 1.8.0
description: Scalable datastore for metrics, events, and real-time analytics.
keywords:
......
......@@ -52,20 +52,20 @@ spec:
{{- end }}
livenessProbe:
httpGet:
path: /ping
path: {{ .Values.livenessProbe.path | default "/ping" }}
port: meta
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 30 }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds | default 5 }}
readinessProbe:
httpGet:
path: /ping
path: {{ .Values.readinessProbe.path | default "/ping" }}
port: meta
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds | default 5 }}
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds | default 1 }}
{{- if .Values.startupProbe.enabled }}
startupProbe:
httpGet:
path: /ping
path: {{ .Values.startupProbe.path | default "/ping" }}
port: meta
failureThreshold: {{ .Values.startupProbe.failureThreshold | default 6 }}
periodSeconds: {{ .Values.startupProbe.periodSeconds | default 5 }}
......
......@@ -97,14 +97,14 @@ spec:
{{- end }}
livenessProbe:
httpGet:
path: /ping
path: {{ .Values.livenessProbe.path | default "/ping" }}
port: api
scheme: {{ .Values.livenessProbe.scheme | default "HTTP" }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 30 }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds | default 5 }}
readinessProbe:
httpGet:
path: /ping
path: {{ .Values.readinessProbe.path | default "/ping" }}
port: api
scheme: {{ .Values.readinessProbe.scheme | default "HTTP" }}
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds | default 5 }}
......@@ -112,7 +112,7 @@ spec:
{{- if .Values.startupProbe.enabled }}
startupProbe:
httpGet:
path: /ping
path: {{ .Values.startupProbe.path | default "/ping" }}
port: api
scheme: {{ .Values.startupProbe.scheme | default "HTTP" }}
failureThreshold: {{ .Values.startupProbe.failureThreshold | default 6 }}
......
......@@ -19,11 +19,13 @@ serviceAccount:
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
##
livenessProbe: {}
# path: "/ping"
# initialDelaySeconds: 30
# timeoutSeconds: 5
# scheme: HTTP
readinessProbe: {}
# path: "/ping"
# initialDelaySeconds: 5
# timeoutSeconds: 1
# scheme: HTTP
......@@ -34,6 +36,7 @@ securityContext: {}
startupProbe:
enabled: false
# path: "/ping"
# failureThreshold: 6
# periodSeconds: 5
# scheme: HTTP
......
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