diff --git a/docs/sources/installation/helm/reference.md b/docs/sources/installation/helm/reference.md index bb12119537..b32ba88aff 100644 --- a/docs/sources/installation/helm/reference.md +++ b/docs/sources/installation/helm/reference.md @@ -3726,6 +3726,15 @@ Hard node and soft zone anti-affinity
 []
 
+ + + + write.extraVolumeClaimTemplates + list + volumeClaimTemplates to add to StatefulSet +
+[]
+
diff --git a/production/helm/loki/CHANGELOG.md b/production/helm/loki/CHANGELOG.md index e49f391ae2..c67f7d68d9 100644 --- a/production/helm/loki/CHANGELOG.md +++ b/production/helm/loki/CHANGELOG.md @@ -13,6 +13,9 @@ Entries should include a reference to the pull request that introduced the chang [//]: # ( : do not remove this line. This locator is used by the CI pipeline to automatically create a changelog entry for each new Loki release. Add other chart versions and respective changelog entries bellow this line.) +## 5.5.4 + +- [CHANGE] Add extraVolumeClaimTemplates for StatefulSet of the write component. - [CHANGE] Add clusterLabelOverride for alert label overrides. ## 5.5.3 diff --git a/production/helm/loki/Chart.yaml b/production/helm/loki/Chart.yaml index 60466294ad..de3df17aa5 100644 --- a/production/helm/loki/Chart.yaml +++ b/production/helm/loki/Chart.yaml @@ -3,7 +3,7 @@ name: loki description: Helm chart for Grafana Loki in simple, scalable mode type: application appVersion: 2.8.2 -version: 5.5.3 +version: 5.5.4 home: https://grafana.github.io/helm-charts sources: - https://github.com/grafana/loki diff --git a/production/helm/loki/README.md b/production/helm/loki/README.md index bdb0c54f48..2d889e768e 100644 --- a/production/helm/loki/README.md +++ b/production/helm/loki/README.md @@ -1,6 +1,6 @@ # loki -![Version: 5.5.3](https://img.shields.io/badge/Version-5.5.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.8.2](https://img.shields.io/badge/AppVersion-2.8.2-informational?style=flat-square) +![Version: 5.5.4](https://img.shields.io/badge/Version-5.5.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.8.2](https://img.shields.io/badge/AppVersion-2.8.2-informational?style=flat-square) Helm chart for Grafana Loki in simple, scalable mode diff --git a/production/helm/loki/templates/write/statefulset-write.yaml b/production/helm/loki/templates/write/statefulset-write.yaml index 702f7f9c2c..3a55247251 100644 --- a/production/helm/loki/templates/write/statefulset-write.yaml +++ b/production/helm/loki/templates/write/statefulset-write.yaml @@ -173,4 +173,7 @@ spec: selector: {{- toYaml . | nindent 10 }} {{- end }} + {{- with .Values.write.extraVolumeClaimTemplates }} + {{- toYaml . | nindent 4 }} + {{- end }} {{- end }} diff --git a/production/helm/loki/values.yaml b/production/helm/loki/values.yaml index 3072c77362..ad799bb770 100644 --- a/production/helm/loki/values.yaml +++ b/production/helm/loki/values.yaml @@ -678,6 +678,8 @@ write: extraVolumeMounts: [] # -- Volumes to add to the write pods extraVolumes: [] + # -- volumeClaimTemplates to add to StatefulSet + extraVolumeClaimTemplates: [] # -- Resource requests and limits for the write resources: {} # -- Grace period to allow the write to shutdown before it is killed. Especially for the ingester,