Skip to content

Commit 3296c66

Browse files
committed
feat(helm): Add health probes to write
This change adds configurable `livenessProbe` and `startupProbe` to the loki container in the write pods. Signed-off-by: Andreas Lindhé <[email protected]>
1 parent a3e3a82 commit 3296c66

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 the loki container in the write pods [#20087](https://github.com/grafana/loki/pull/20087)
2324

2425
## 6.46.0
2526

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,18 @@ spec:
109109
{{- end }}
110110
securityContext:
111111
{{- toYaml .Values.loki.containerSecurityContext | nindent 12 }}
112+
{{- with .Values.loki.livenessProbe }}
113+
livenessProbe:
114+
{{- toYaml . | nindent 12 }}
115+
{{- end }}
112116
{{- with .Values.loki.readinessProbe }}
113117
readinessProbe:
114118
{{- toYaml . | nindent 12 }}
115119
{{- end }}
120+
{{- with .Values.loki.startupProbe }}
121+
startupProbe:
122+
{{- toYaml . | nindent 12 }}
123+
{{- end }}
116124
{{- if .Values.write.lifecycle }}
117125
lifecycle:
118126
{{- toYaml .Values.write.lifecycle | nindent 12 }}

0 commit comments

Comments
 (0)