service-gossip-ring.yaml 660 B

123456789101112131415161718192021
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: {{ include "tempo.resourceName" (dict "ctx" . "component" "gossip-ring") }}
  5. namespace: {{ .Release.Namespace }}
  6. labels:
  7. {{- include "tempo.labels" (dict "ctx" . "component" "gossip-ring") | nindent 4 }}
  8. spec:
  9. type: ClusterIP
  10. clusterIP: None
  11. ports:
  12. - name: gossip-ring
  13. port: 7946
  14. protocol: TCP
  15. targetPort: http-memberlist
  16. {{- if .Values.tempo.memberlist.appProtocol }}
  17. appProtocol: {{ .Values.tempo.memberlist.appProtocol }}
  18. {{- end }}
  19. publishNotReadyAddresses: true
  20. selector:
  21. {{- include "tempo.gossipRingSelectorLabels" (dict "ctx" .) | nindent 4 }}