service-index-gateway-headless.yaml 554 B

1234567891011121314151617181920212223
  1. {{- if .Values.indexGateway.enabled }}
  2. apiVersion: v1
  3. kind: Service
  4. metadata:
  5. name: {{ include "loki.indexGatewayFullname" . }}-headless
  6. labels:
  7. {{- include "loki.indexGatewaySelectorLabels" . | nindent 4 }}
  8. prometheus.io/service-monitor: "false"
  9. spec:
  10. type: ClusterIP
  11. clusterIP: None
  12. ports:
  13. - name: http
  14. port: 3100
  15. targetPort: http
  16. protocol: TCP
  17. - name: grpc
  18. port: 9095
  19. targetPort: grpc
  20. protocol: TCP
  21. selector:
  22. {{- include "loki.indexGatewaySelectorLabels" . | nindent 4 }}
  23. {{- end }}