Skip to content

Commit

Permalink
feat(helm): Add health probes to write
Browse files Browse the repository at this point in the history
Adds configurable `livenessProbe` and `startupProbe` to the loki
container in the write pods.

Signed-off-by: Andreas Lindhé <[email protected]>
  • Loading branch information
lindhe committed Dec 12, 2024
1 parent a15eb95 commit 3c99bd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions production/helm/loki/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Entries should include a reference to the pull request that introduced the chang
- [ENHANCEMENT] Add configurable `livenessProbe` and `startupProbe` to ruler.
- [ENHANCEMENT] Add configurable `startupProbe` to the loki-sc-rules sidecar container in the single-binary pods.
- [ENHANCEMENT] Add configurable `startupProbe` to table-manager.
- [ENHANCEMENT] Add configurable `livenessProbe` and `startupProbe` to write.

## 6.23.0

Expand Down
4 changes: 4 additions & 0 deletions production/helm/loki/templates/write/statefulset-write.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,12 @@ spec:
{{- end }}
securityContext:
{{- toYaml .Values.loki.containerSecurityContext | nindent 12 }}
livenessProbe:
{{- toYaml .Values.loki.livenessProbe | nindent 12 }}
readinessProbe:
{{- toYaml .Values.loki.readinessProbe | nindent 12 }}
startupProbe:
{{- toYaml .Values.loki.startupProbe | nindent 12 }}
{{- if .Values.write.lifecycle }}
lifecycle:
{{- toYaml .Values.write.lifecycle | nindent 12 }}
Expand Down

0 comments on commit 3c99bd4

Please sign in to comment.