Skip to content

Commit

Permalink
feat(helm): Add startupProbe for gateway
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Lindhé <[email protected]>
  • Loading branch information
lindhe committed Dec 11, 2024
1 parent 341d255 commit d281b9d
Show file tree
Hide file tree
Showing 3 changed files with 10 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 @@ -15,6 +15,7 @@ Entries should include a reference to the pull request that introduced the chang

- [BUGFIX] Disables the Helm test pod when `test.enabled=false`.
- [ENHANCEMENT] Sets a configurable `livenessProbe` for the nginx container in the gateway pod.
- [ENHANCEMENT] Sets a configurable `startupProbe` for the nginx container in the gateway pod.

## 6.23.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ spec:
{{- toYaml .Values.gateway.livenessProbe | nindent 12 }}
readinessProbe:
{{- toYaml .Values.gateway.readinessProbe | nindent 12 }}
startupProbe:
{{- toYaml .Values.gateway.startupProbe | nindent 12 }}
securityContext:
{{- toYaml .Values.gateway.containerSecurityContext | nindent 12 }}
{{- with .Values.gateway.lifecycle }}
Expand Down
7 changes: 7 additions & 0 deletions production/helm/loki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,13 @@ gateway:
port: http-metrics
initialDelaySeconds: 15
timeoutSeconds: 1
# -- startup probe for the nginx container in the gateway pods.
startupProbe:
httpGet:
path: /
port: http-metrics
initialDelaySeconds: 15
timeoutSeconds: 1
nginxConfig:
# -- Which schema to be used when building URLs. Can be 'http' or 'https'.
schema: http
Expand Down

0 comments on commit d281b9d

Please sign in to comment.