Skip to content

Commit

Permalink
Change memberlist approach for members.
Browse files Browse the repository at this point in the history
  • Loading branch information
Whyeasy committed Sep 21, 2020
1 parent b79714d commit 323677e
Show file tree
Hide file tree
Showing 6 changed files with 20 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.4
version: 0.3.5
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.4`
Current chart version is `0.3.5`



Expand Down
4 changes: 3 additions & 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,9 @@ data:
rejoin_interval: {{ .Values.memberlist.rejoin }}
bind_port: {{ .Values.memberlist.port }}
join_members: [
{{ include "loki-helm.fullname" . }}-memberlist
{{ include "loki-helm.distributor" . }}
{{ include "loki-helm.ingester" . }}
{{ include "loki-helm.querier" . }}
]
distributor:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@ spec:
- name: distributor-grpc
port: 9095
targetPort: 9095
{{- if .Values.memberlist.enable }}
- name: distributor-memberlist
port: {{ .Values.memberlist.port}}
targetPort: {{ .Values.memberlist.port}}
{{- end }}
selector: {{- include "loki-helm.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: distributor
5 changes: 5 additions & 0 deletions charts/distributed-loki/templates/ingester/ingester-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@ spec:
- name: ingester-grpc
port: 9095
targetPort: 9095
{{- if .Values.memberlist.enable }}
- name: ingester-memberlist
port: {{ .Values.memberlist.port}}
targetPort: {{ .Values.memberlist.port}}
{{- end }}
selector: {{- include "loki-helm.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: ingester
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 323677e

Please sign in to comment.