diff --git a/charts/distributed-loki/Chart.yaml b/charts/distributed-loki/Chart.yaml index f8d731c..2a942e3 100644 --- a/charts/distributed-loki/Chart.yaml +++ b/charts/distributed-loki/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: loki-distributed description: A Helm chart for Kubernetes type: application -version: 0.4.7 +version: 0.4.8 appVersion: 2.0.0 diff --git a/charts/distributed-loki/README.md b/charts/distributed-loki/README.md index c89d487..49d6c08 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.4.7` +Current chart version is `0.4.8` diff --git a/charts/distributed-loki/templates/distributor/distributor-dpl.yaml b/charts/distributed-loki/templates/distributor/distributor-dpl.yaml index 948c797..7937268 100644 --- a/charts/distributed-loki/templates/distributor/distributor-dpl.yaml +++ b/charts/distributed-loki/templates/distributor/distributor-dpl.yaml @@ -19,6 +19,7 @@ spec: config_hash: 8f80031113ab434770ef7e9215512968 labels: {{- include "loki-helm.labels" . | nindent 8 }} app.kubernetes.io/component: distributor + app.kubernetes.io/part-of: memberlist spec: {{- if .Values.distributor.affinity }} affinity: {{- toYaml .Values.distributor.affinity | nindent 8 }} diff --git a/charts/distributed-loki/templates/ingester/ingester-dpl.yaml b/charts/distributed-loki/templates/ingester/ingester-dpl.yaml index a430c52..b6ab608 100644 --- a/charts/distributed-loki/templates/ingester/ingester-dpl.yaml +++ b/charts/distributed-loki/templates/ingester/ingester-dpl.yaml @@ -24,6 +24,7 @@ spec: config_hash: 8f80031113ab434770ef7e9215512968 labels: {{- include "loki-helm.labels" . | nindent 8 }} app.kubernetes.io/component: ingester + app.kubernetes.io/part-of: memberlist spec: {{- if .Values.ingester.affinity }} affinity: {{- toYaml .Values.ingester.affinity | nindent 8 }} diff --git a/charts/distributed-loki/templates/ingester/ingester-sfs.yaml b/charts/distributed-loki/templates/ingester/ingester-sfs.yaml index ee4f959..8b0d29a 100644 --- a/charts/distributed-loki/templates/ingester/ingester-sfs.yaml +++ b/charts/distributed-loki/templates/ingester/ingester-sfs.yaml @@ -22,6 +22,7 @@ spec: config_hash: 8f80031113ab434770ef7e9215512968 labels: {{- include "loki-helm.labels" . | nindent 8 }} app.kubernetes.io/component: ingester + app.kubernetes.io/part-of: memberlist spec: {{- if .Values.ingester.affinity }} affinity: {{- toYaml .Values.ingester.affinity | nindent 8 }} diff --git a/charts/distributed-loki/templates/memberlist/headless-svc.yaml b/charts/distributed-loki/templates/memberlist/headless-svc.yaml index 3ad7cc1..fbedbb6 100644 --- a/charts/distributed-loki/templates/memberlist/headless-svc.yaml +++ b/charts/distributed-loki/templates/memberlist/headless-svc.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki-helm.fullname" . }}-memberlist + namespace: {{ .Release.Namespace }} labels: {{- include "loki-helm.labels" . | nindent 4 }} spec: @@ -13,6 +14,7 @@ spec: port: 7946 targetPort: memberlist protocol: TCP - selector: {{- include "loki-helm.selectorLabels" . | nindent 4 }} + selector: + {{- include "loki-helm.selectorLabels" . | nindent 4 }} app.kubernetes.io/part-of: memberlist {{- end }} diff --git a/charts/distributed-loki/templates/querier/querier-dpl.yaml b/charts/distributed-loki/templates/querier/querier-dpl.yaml index 78e6e13..0b7da46 100644 --- a/charts/distributed-loki/templates/querier/querier-dpl.yaml +++ b/charts/distributed-loki/templates/querier/querier-dpl.yaml @@ -20,6 +20,7 @@ spec: config_hash: 8f80031113ab434770ef7e9215512968 labels: {{- include "loki-helm.labels" . | nindent 8 }} app.kubernetes.io/component: querier + app.kubernetes.io/part-of: memberlist spec: {{- if .Values.querier.affinity }} affinity: {{- toYaml .Values.querier.affinity | nindent 8 }} diff --git a/charts/distributed-loki/templates/querier/querier-sfs.yaml b/charts/distributed-loki/templates/querier/querier-sfs.yaml index 5851151..1bc2fde 100644 --- a/charts/distributed-loki/templates/querier/querier-sfs.yaml +++ b/charts/distributed-loki/templates/querier/querier-sfs.yaml @@ -22,6 +22,7 @@ spec: config_hash: 8f80031113ab434770ef7e9215512968 labels: {{- include "loki-helm.labels" . | nindent 8 }} app.kubernetes.io/component: querier + app.kubernetes.io/part-of: memberlist spec: {{- if .Values.querier.affinity }} affinity: {{- toYaml .Values.querier.affinity | nindent 8 }}