service-table-manager.yaml 752 B

123456789101112131415161718192021222324252627282930
  1. {{- if .Values.tableManager.enabled }}
  2. apiVersion: v1
  3. kind: Service
  4. metadata:
  5. name: {{ include "loki.fullname" . }}-table-manager
  6. labels:
  7. {{- include "loki.labels" . | nindent 4 }}
  8. {{- with .Values.tableManager.serviceLabels }}
  9. {{- toYaml . | nindent 4 }}
  10. {{- end }}
  11. app.kubernetes.io/component: table-manager
  12. {{- with .Values.loki.serviceAnnotations }}
  13. annotations:
  14. {{- toYaml . | nindent 4 }}
  15. {{- end }}
  16. spec:
  17. type: ClusterIP
  18. ports:
  19. - name: http
  20. port: 3100
  21. targetPort: http
  22. protocol: TCP
  23. - name: grpc
  24. port: 9095
  25. targetPort: grpc
  26. protocol: TCP
  27. selector:
  28. {{- include "loki.selectorLabels" . | nindent 4 }}
  29. app.kubernetes.io/component: table-manager
  30. {{- end }}