diff --git a/charts/influxdb-enterprise/Chart.yaml b/charts/influxdb-enterprise/Chart.yaml index acd94400..3f424286 100644 --- a/charts/influxdb-enterprise/Chart.yaml +++ b/charts/influxdb-enterprise/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -version: 0.1.22 +version: 0.1.23 appVersion: 1.10.0 engine: gotpl diff --git a/charts/influxdb-enterprise/templates/data-statefulset.yaml b/charts/influxdb-enterprise/templates/data-statefulset.yaml index 7239b4e7..15750a69 100644 --- a/charts/influxdb-enterprise/templates/data-statefulset.yaml +++ b/charts/influxdb-enterprise/templates/data-statefulset.yaml @@ -121,6 +121,7 @@ spec: port: http {{- if .Values.data.https.enabled }} scheme: HTTPS + initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 3600 }} {{- end }} readinessProbe: initialDelaySeconds: 30 diff --git a/charts/influxdb-enterprise/templates/meta-statefulset.yaml b/charts/influxdb-enterprise/templates/meta-statefulset.yaml index 39995c7b..12d60b3f 100644 --- a/charts/influxdb-enterprise/templates/meta-statefulset.yaml +++ b/charts/influxdb-enterprise/templates/meta-statefulset.yaml @@ -112,6 +112,7 @@ spec: port: http {{- if .Values.meta.https.enabled }} scheme: HTTPS + initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 3600 }} {{- end }} readinessProbe: httpGet: diff --git a/charts/influxdb-enterprise/values.yaml b/charts/influxdb-enterprise/values.yaml index 0380ba08..63447157 100644 --- a/charts/influxdb-enterprise/values.yaml +++ b/charts/influxdb-enterprise/values.yaml @@ -23,6 +23,11 @@ serviceAccount: name: '' annotations: {} +## Customize liveness, readiness and startup probes +## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ +livenessProbe: {} + # initialDelaySeconds: 3600 + ## The name of a secret in the same kubernetes namespace which contain values ## to be added to the environment. ## This can be used, for example, to set the INFLUXDB_ENTERPRISE_LICENSE_KEY