Skip to content

Commit 9dff768

Browse files
committed
feat(helm): Add health probes to ruler
Adds configurable `livenessProbe` and `startupProbe` to ruler. Signed-off-by: Andreas Lindhé <[email protected]>
1 parent a3e3a82 commit 9dff768

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

production/helm/loki/templates/ruler/statefulset-ruler.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,18 @@ spec:
9393
{{- end }}
9494
securityContext:
9595
{{- toYaml .Values.loki.containerSecurityContext | nindent 12 }}
96+
{{- with .Values.loki.livenessProbe }}
97+
livenessProbe:
98+
{{- toYaml . | nindent 12 }}
99+
{{- end }}
96100
{{- with .Values.loki.readinessProbe }}
97101
readinessProbe:
98102
{{- toYaml . | nindent 12 }}
99103
{{- end }}
104+
{{- with .Values.loki.startupProbe }}
105+
startupProbe:
106+
{{- toYaml . | nindent 12 }}
107+
{{- end }}
100108
volumeMounts:
101109
- name: config
102110
mountPath: /etc/loki/config

0 commit comments

Comments
 (0)