Skip to content

Commit c9a03f7

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 c9a03f7

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

production/helm/loki/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Entries should include a reference to the pull request that introduced the chang
2020
- [ENHANCEMENT] Add support for configuring `volumeAttributesClassName` for `volumeClaimTemplates`. [#19719](https://github.com/grafana/loki/pull/19719)
2121
- [BUGFIX] Don't fail for missing bucket name, if minio is enabled. [#19745](https://github.com/grafana/loki/pull/19745)
2222
- [BUGFIX] Add startupProbe to read pod [#19708](https://github.com/grafana/loki/pull/19708)
23+
- [ENHANCEMENT] Add configurable `livenessProbe` and `startupProbe` to ruler [#20085](https://github.com/grafana/loki/pull/20085)
2324

2425
## 6.46.0
2526

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)