oc-k8s/opencloud/charts/loki/templates/service-memberlist.yaml

30 lines
753 B
YAML
Raw Normal View History

2024-12-16 14:55:43 +01:00
---
apiVersion: v1
kind: Service
metadata:
name: {{ include "loki.memberlist" . }}
namespace: {{ $.Release.Namespace }}
labels:
{{- include "loki.labels" . | nindent 4 }}
annotations:
{{- with .Values.loki.serviceAnnotations }}
{{- toYaml . | nindent 4}}
{{- end }}
{{- with .Values.memberlist.service.annotations }}
{{- toYaml . | nindent 4}}
{{- end }}
spec:
type: ClusterIP
clusterIP: None
ports:
- name: tcp
port: 7946
targetPort: http-memberlist
protocol: TCP
{{- with .Values.memberlist.service.publishNotReadyAddresses }}
publishNotReadyAddresses: {{ . }}
{{- end }}
selector:
{{- include "loki.selectorLabels" . | nindent 4 }}
app.kubernetes.io/part-of: memberlist