diff --git a/charts/distributed-loki/Chart.yaml b/charts/distributed-loki/Chart.yaml index 9c612a0..b617944 100644 --- a/charts/distributed-loki/Chart.yaml +++ b/charts/distributed-loki/Chart.yaml @@ -3,5 +3,5 @@ name: loki-distributed description: A Helm chart for Kubernetes type: application -version: 0.3.2 +version: 0.3.3 appVersion: 1.6.0 diff --git a/charts/distributed-loki/README.md b/charts/distributed-loki/README.md index 5ead5a4..793c218 100644 --- a/charts/distributed-loki/README.md +++ b/charts/distributed-loki/README.md @@ -2,7 +2,7 @@ loki-distributed ================ A Helm chart for Kubernetes -Current chart version is `0.3.2` +Current chart version is `0.3.3` diff --git a/charts/distributed-loki/templates/config/loki-cm.yaml b/charts/distributed-loki/templates/config/loki-cm.yaml index 143b146..807a11c 100644 --- a/charts/distributed-loki/templates/config/loki-cm.yaml +++ b/charts/distributed-loki/templates/config/loki-cm.yaml @@ -25,7 +25,7 @@ data: rejoin_interval: {{ .Values.memberlist.rejoin }} bind_port: {{ .Values.memberlist.port }} join_members: [ - {{ include "loki.fullname" . }}-gossip-ring + {{ include "loki-helm.fullname" . }}-gossip-ring ] distributor: diff --git a/charts/distributed-loki/templates/querier/querier-dpl.yaml b/charts/distributed-loki/templates/querier/querier-dpl.yaml index 0550898..8f1eb25 100644 --- a/charts/distributed-loki/templates/querier/querier-dpl.yaml +++ b/charts/distributed-loki/templates/querier/querier-dpl.yaml @@ -51,6 +51,10 @@ spec: name: http-metrics - containerPort: 9095 name: grpc + {{- if .Values.memberlist.enable }} + - containerPort: {{ .Values.memberlist.port}} + name: memberlist + {{- end }} {{- if .Values.querier.resources }} resources: {{- toYaml .Values.querier.resources | nindent 12 }} {{- end }} diff --git a/charts/distributed-loki/templates/querier/querier-svc.yaml b/charts/distributed-loki/templates/querier/querier-svc.yaml index 3e9d6bd..cec319e 100644 --- a/charts/distributed-loki/templates/querier/querier-svc.yaml +++ b/charts/distributed-loki/templates/querier/querier-svc.yaml @@ -13,5 +13,10 @@ spec: - name: querier-grpc port: 9095 targetPort: 9095 + {{- if .Values.memberlist.enable }} + - name: querier-memberlist + port: {{ .Values.memberlist.port}} + targetPort: {{ .Values.memberlist.port}} + {{- end }} selector: {{- include "loki-helm.selectorLabels" . | nindent 4 }} app.kubernetes.io/component: querier