admin-api-svc.yaml 913 B

123456789101112131415161718192021222324252627
  1. {{- if .Values.enterprise.enabled -}}
  2. apiVersion: v1
  3. kind: Service
  4. metadata:
  5. name: {{ include "tempo.resourceName" (dict "ctx" . "component" "admin-api") }}
  6. labels:
  7. {{- include "tempo.labels" (dict "ctx" . "component" "admin-api" "memberlist" true) | nindent 4 }}
  8. {{- with .Values.adminApi.service.labels }}
  9. {{- toYaml . | nindent 4 }}
  10. {{- end }}
  11. annotations:
  12. {{- toYaml .Values.adminApi.service.annotations | nindent 4 }}
  13. namespace: {{ .Release.Namespace | quote }}
  14. spec:
  15. type: ClusterIP
  16. ports:
  17. - port: {{ include "tempo.serverHttpListenPort" . }}
  18. protocol: TCP
  19. name: http-metrics
  20. targetPort: http-metrics
  21. - port: {{ include "tempo.serverGrpcListenPort" . }}
  22. protocol: TCP
  23. name: grpc
  24. targetPort: grpc
  25. selector:
  26. {{- include "tempo.selectorLabels" (dict "ctx" . "component" "admin-api" "memberlist" true) | nindent 4 }}
  27. {{- end -}}