Skip to content

Commit 67e5ac4

Browse files
committed
Add support for startupProbe in helm chart
1 parent c8e252a commit 67e5ac4

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

helm/nessie/templates/deployment.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,16 @@ spec:
132132
{{- tpl (toYaml .Values.extraEnv) . | nindent 12 }}
133133
{{- end }}
134134
{{- include "nessie.containerPorts" . | trim | nindent 10 }}
135+
startupProbe:
136+
httpGet:
137+
path: /q/health/started
138+
port: {{ .Values.managementService.portName }}
139+
scheme: HTTP
140+
initialDelaySeconds: {{ .Values.startupProbe.initialDelaySeconds }}
141+
periodSeconds: {{ .Values.startupProbe.periodSeconds }}
142+
successThreshold: {{ .Values.startupProbe.successThreshold }}
143+
failureThreshold: {{ .Values.startupProbe.failureThreshold }}
144+
timeoutSeconds: {{ .Values.startupProbe.timeoutSeconds }}
135145
livenessProbe:
136146
httpGet:
137147
path: /q/health/live

helm/nessie/values.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,6 +1053,19 @@ affinity: {}
10531053
# values:
10541054
# - nessie
10551055

1056+
# -- Configures the startup probe for nessie pods.
1057+
startupProbe:
1058+
# -- Number of seconds after the container has started before startup probes are initiated. Minimum value is 0.
1059+
initialDelaySeconds: 0
1060+
# -- How often (in seconds) to perform the probe. Minimum value is 1.
1061+
periodSeconds: 10
1062+
# -- Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1.
1063+
successThreshold: 1
1064+
# -- Minimum consecutive failures for the probe to be considered failed after having succeeded. Minimum value is 1.
1065+
failureThreshold: 5
1066+
# -- Number of seconds after which the probe times out. Minimum value is 1.
1067+
timeoutSeconds: 10
1068+
10561069
# -- Configures the liveness probe for nessie pods.
10571070
livenessProbe:
10581071
# -- Number of seconds after the container has started before liveness probes are initiated. Minimum value is 0.

0 commit comments

Comments
 (0)