Skip to content

Commit

Permalink
Merge pull request #933 from DaveOHenry/main
Browse files Browse the repository at this point in the history
[loki-distributed] Rename containers to fix some dashboard panels from loki-mixin
  • Loading branch information
Whyeasy committed Jan 25, 2022
2 parents 9b6af14 + f924ac5 commit a675b1a
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/loki-distributed/Chart.yaml
Expand Up @@ -3,7 +3,7 @@ name: loki-distributed
description: Helm chart for Grafana Loki in microservices mode
type: application
appVersion: 2.4.2
version: 0.41.0
version: 0.42.0
home: https://grafana.github.io/helm-charts
sources:
- https://github.com/grafana/loki
Expand Down
5 changes: 4 additions & 1 deletion charts/loki-distributed/README.md
@@ -1,6 +1,6 @@
# loki-distributed

![Version: 0.41.0](https://img.shields.io/badge/Version-0.41.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.4.2](https://img.shields.io/badge/AppVersion-2.4.2-informational?style=flat-square)
![Version: 0.42.0](https://img.shields.io/badge/Version-0.42.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.4.2](https://img.shields.io/badge/AppVersion-2.4.2-informational?style=flat-square)

Helm chart for Grafana Loki in microservices mode

Expand All @@ -24,6 +24,9 @@ helm repo add grafana https://grafana.github.io/helm-charts

Major version upgrades listed here indicate that there is an incompatible breaking change needing manual actions.

### From 0.41.x to 0.42.0
All containers were previously named "loki". This version changes the container names to make the chart compatible with the loki-mixin. Now the container names correctly reflect the component (querier, distributor, ingester, ...). If you are using custom prometheus rules that use the container name you probably have to change them.

### From 0.34.x to 0.35.0
This version updates the `Ingress` API Version of the Loki Gateway component to `networking.k8s.io/v1` of course given that the cluster supports it. Here it's important to notice the change in the `values.yml` with regards to the ingress configuration section and its new structure.
```yaml
Expand Down
3 changes: 3 additions & 0 deletions charts/loki-distributed/README.md.gotmpl
Expand Up @@ -22,6 +22,9 @@ helm repo add grafana https://grafana.github.io/helm-charts

Major version upgrades listed here indicate that there is an incompatible breaking change needing manual actions.

### From 0.41.x to 0.42.0
All containers were previously named "loki". This version changes the container names to make the chart compatible with the loki-mixin. Now the container names correctly reflect the component (querier, distributor, ingester, ...). If you are using custom prometheus rules that use the container name you probably have to change them.

### From 0.34.x to 0.35.0
This version updates the `Ingress` API Version of the Loki Gateway component to `networking.k8s.io/v1` of course given that the cluster supports it. Here it's important to notice the change in the `values.yml` with regards to the ingress configuration section and its new structure.
```yaml
Expand Down
Expand Up @@ -36,7 +36,7 @@ spec:
{{- toYaml .Values.loki.podSecurityContext | nindent 8 }}
terminationGracePeriodSeconds: {{ .Values.compactor.terminationGracePeriodSeconds }}
containers:
- name: loki
- name: compactor
image: {{ include "loki.compactorImage" . }}
imagePullPolicy: {{ .Values.loki.image.pullPolicy }}
args:
Expand Down
Expand Up @@ -41,7 +41,7 @@ spec:
{{- toYaml .Values.loki.podSecurityContext | nindent 8 }}
terminationGracePeriodSeconds: {{ .Values.distributor.terminationGracePeriodSeconds }}
containers:
- name: loki
- name: distributor
image: {{ include "loki.distributorImage" . }}
imagePullPolicy: {{ .Values.loki.image.pullPolicy }}
args:
Expand Down
Expand Up @@ -38,7 +38,7 @@ spec:
{{- toYaml .Values.loki.podSecurityContext | nindent 8 }}
terminationGracePeriodSeconds: {{ .Values.indexGateway.terminationGracePeriodSeconds }}
containers:
- name: loki
- name: index-gateway
image: {{ include "loki.indexGatewayImage" . }}
imagePullPolicy: {{ .Values.loki.image.pullPolicy }}
args:
Expand Down
Expand Up @@ -40,7 +40,7 @@ spec:
{{- toYaml .Values.loki.podSecurityContext | nindent 8 }}
terminationGracePeriodSeconds: {{ .Values.ingester.terminationGracePeriodSeconds }}
containers:
- name: loki
- name: ingester
image: {{ include "loki.ingesterImage" . }}
imagePullPolicy: {{ .Values.loki.image.pullPolicy }}
args:
Expand Down
Expand Up @@ -42,7 +42,7 @@ spec:
{{- toYaml .Values.loki.podSecurityContext | nindent 8 }}
terminationGracePeriodSeconds: {{ .Values.querier.terminationGracePeriodSeconds }}
containers:
- name: loki
- name: querier
image: {{ include "loki.querierImage" . }}
imagePullPolicy: {{ .Values.loki.image.pullPolicy }}
args:
Expand Down
Expand Up @@ -41,7 +41,7 @@ spec:
{{- toYaml .Values.loki.podSecurityContext | nindent 8 }}
terminationGracePeriodSeconds: {{ .Values.querier.terminationGracePeriodSeconds }}
containers:
- name: loki
- name: querier
image: {{ include "loki.querierImage" . }}
imagePullPolicy: {{ .Values.loki.image.pullPolicy }}
args:
Expand Down
Expand Up @@ -39,7 +39,7 @@ spec:
{{- toYaml .Values.loki.podSecurityContext | nindent 8 }}
terminationGracePeriodSeconds: {{ .Values.queryFrontend.terminationGracePeriodSeconds }}
containers:
- name: loki
- name: query-frontend
image: {{ include "loki.queryFrontendImage" . }}
imagePullPolicy: {{ .Values.loki.image.pullPolicy }}
args:
Expand Down
Expand Up @@ -40,7 +40,7 @@ spec:
{{- toYaml .Values.loki.podSecurityContext | nindent 8 }}
terminationGracePeriodSeconds: {{ .Values.ruler.terminationGracePeriodSeconds }}
containers:
- name: loki
- name: ruler
image: {{ include "loki.rulerImage" . }}
imagePullPolicy: {{ .Values.loki.image.pullPolicy }}
args:
Expand Down
Expand Up @@ -34,7 +34,7 @@ spec:
{{- toYaml .Values.loki.podSecurityContext | nindent 8 }}
terminationGracePeriodSeconds: {{ .Values.tableManager.terminationGracePeriodSeconds }}
containers:
- name: loki
- name: table-manager
image: {{ include "loki.tableManagerImage" . }}
imagePullPolicy: {{ .Values.loki.image.pullPolicy }}
args:
Expand Down

0 comments on commit a675b1a

Please sign in to comment.