Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/sources/setup/install/helm/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -7665,6 +7665,15 @@ null
<td><pre lang="json">
"pod"
</pre>
</td>
</tr>
<tr>
<td>lokiCanary.livenessProbe</td>
<td>string</td>
<td>Liveness probe</td>
<td><pre lang="json">
null
</pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -7762,6 +7771,15 @@ true
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
<td>lokiCanary.startupProbe</td>
<td>string</td>
<td>Startup probe</td>
<td><pre lang="json">
null
</pre>
</td>
</tr>
<tr>
Expand Down
1 change: 1 addition & 0 deletions production/helm/loki/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Entries should include a reference to the pull request that introduced the chang
- [ENHANCEMENT] Add support for configuring `volumeAttributesClassName` for `volumeClaimTemplates`. [#19719](https://github.com/grafana/loki/pull/19719)
- [BUGFIX] Don't fail for missing bucket name, if minio is enabled. [#19745](https://github.com/grafana/loki/pull/19745)
- [BUGFIX] Add startupProbe to read pod [#19708](https://github.com/grafana/loki/pull/19708)
- [ENHANCEMENT] Add configurable `livenessProbe` and `startupProbe` to loki-canary [#20079](https://github.com/grafana/loki/pull/20079)

## 6.46.0

Expand Down
8 changes: 8 additions & 0 deletions production/helm/loki/templates/loki-canary/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,18 @@ spec:
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .livenessProbe }}
livenessProbe:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .readinessProbe }}
readinessProbe:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .startupProbe }}
startupProbe:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .resources}}
resources:
{{- toYaml . | nindent 12 }}
Expand Down
4 changes: 4 additions & 0 deletions production/helm/loki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -833,13 +833,17 @@ lokiCanary:
digest: null
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Liveness probe
livenessProbe:
# -- Readiness probe
readinessProbe:
httpGet:
path: /metrics
port: http-metrics
initialDelaySeconds: 15
timeoutSeconds: 1
# -- Startup probe
startupProbe:
# -- Update strategy for the `loki-canary` Daemonset pods
updateStrategy:
type: RollingUpdate
Expand Down
Loading