Skip to content
10 changes: 10 additions & 0 deletions docs/sources/setup/install/helm/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5467,6 +5467,7 @@ null
},
"initContainers": [],
"joinMemberlist": true,
"lifecycle": {},
"maxUnavailable": null,
"nodeSelector": {},
"persistence": {
Expand Down Expand Up @@ -5645,6 +5646,15 @@ null
<td><pre lang="json">
true
</pre>
</td>
</tr>
<tr>
<td>indexGateway.lifecycle</td>
<td>object</td>
<td>Lifecycle for the index-gateway container</td>
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
Expand Down
2 changes: 2 additions & 0 deletions production/helm/loki/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Entries should include a reference to the pull request that introduced the chang

## Unreleased

- [ENHANCEMENT] Add the ability to specify index-gateway container lifecycle. [#19573](https://github.com/grafana/loki/pull/19573)

## 6.44.0

- [DEPRECATION] The Loki Helm chart uses MinIO as an object store. MinIO will be removed from the Helm Charts in a future release. See [this issue](https://github.com/minio/minio/issues/21647) for more information. The Loki team is still investigating alternatives to replace MinIO.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.indexGateway.resources | nindent 12 }}
{{- with .Values.indexGateway.lifecycle }}
lifecycle:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.indexGateway.extraContainers }}
{{- toYaml .Values.indexGateway.extraContainers | nindent 8}}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions production/helm/loki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2593,6 +2593,8 @@ indexGateway:
initContainers: []
# -- Grace period to allow the index-gateway to shutdown before it is killed.
terminationGracePeriodSeconds: 300
# -- Lifecycle for the index-gateway container
lifecycle: {}
# -- Affinity for index-gateway pods.
# @default -- Hard node anti-affinity
# The value will be passed through tpl.
Expand Down
Loading