Skip to content

Commit 0de40bc

Browse files
committed
feat(helm): Add health probes to query-frontend
This change adds configurable `livenessProbe` and `startupProbe` to the query-frontend container in the query-frontend pods. Signed-off-by: Andreas Lindhé <7773090+lindhe@users.noreply.github.com>
1 parent a3e3a82 commit 0de40bc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

production/helm/loki/templates/query-frontend/deployment-query-frontend.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,18 @@ spec:
100100
{{- end }}
101101
securityContext:
102102
{{- toYaml .Values.loki.containerSecurityContext | nindent 12 }}
103+
{{- with .Values.loki.livenessProbe }}
104+
livenessProbe:
105+
{{- toYaml . | nindent 12 }}
106+
{{- end }}
103107
{{- with .Values.loki.readinessProbe }}
104108
readinessProbe:
105109
{{- toYaml . | nindent 12 }}
106110
{{- end }}
111+
{{- with .Values.loki.startupProbe }}
112+
startupProbe:
113+
{{- toYaml . | nindent 12 }}
114+
{{- end }}
107115
volumeMounts:
108116
- name: config
109117
mountPath: /etc/loki/config

0 commit comments

Comments
 (0)