Skip to content

Commit

Permalink
Add memberlist port querier.
Browse files Browse the repository at this point in the history
  • Loading branch information
Whyeasy committed Sep 21, 2020
1 parent 6bca7e9 commit 8dfd993
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/distributed-loki/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion charts/distributed-loki/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`



Expand Down
2 changes: 1 addition & 1 deletion charts/distributed-loki/templates/config/loki-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions charts/distributed-loki/templates/querier/querier-dpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
5 changes: 5 additions & 0 deletions charts/distributed-loki/templates/querier/querier-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8dfd993

Please sign in to comment.