Skip to content

Commit

Permalink
Update naming memberlist.
Browse files Browse the repository at this point in the history
Remove ports from service.
  • Loading branch information
Whyeasy committed Sep 21, 2020
1 parent 8dfd993 commit b79714d
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 21 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.3
version: 0.3.4
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.3`
Current chart version is `0.3.4`



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-helm.fullname" . }}-gossip-ring
{{ include "loki-helm.fullname" . }}-memberlist
]
distributor:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ metadata:
namespace: {{ .Release.Namespace }}
labels: {{- include "loki-helm.labels" . | nindent 4 }}
app.kubernetes.io/component: distributor
app.kubernetes.io/part-of: gossip-ring
spec:
minReadySeconds: 10
replicas: {{ .Values.distributor.replicaCount }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,5 @@ 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
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ metadata:
namespace: {{ .Release.Namespace }}
labels: {{- include "loki-helm.labels" . | nindent 4 }}
app.kubernetes.io/component: ingester
app.kubernetes.io/part-of: gossip-ring
spec:
minReadySeconds: 60
replicas: {{ .Values.ingester.replicaCount }}
Expand Down
5 changes: 0 additions & 5 deletions charts/distributed-loki/templates/ingester/ingester-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,5 @@ 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
1 change: 0 additions & 1 deletion charts/distributed-loki/templates/querier/querier-dpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ metadata:
namespace: {{ .Release.Namespace }}
labels: {{- include "loki-helm.labels" . | nindent 4 }}
app.kubernetes.io/component: querier
app.kubernetes.io/part-of: gossip-ring
spec:
minReadySeconds: 10
replicas: {{ .Values.querier.replicaCount }}
Expand Down
5 changes: 0 additions & 5 deletions charts/distributed-loki/templates/querier/querier-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,5 @@ 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 b79714d

Please sign in to comment.