2
0
mirror of https://github.com/HangarMC/Hangar.git synced 2025-01-12 14:06:14 +08:00
Hangar/chart/templates/service-zipkin.yaml

19 lines
491 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: {{ include "hangar.fullname" . }}-zipkin
labels:
{{- include "hangar.labels" . | nindent 4 }}
annotations:
service.kubernetes.io/topology-aware-hints: "auto"
spec:
type: {{ .Values.zipkin.service.type }}
ports:
- port: {{ .Values.zipkin.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "hangar.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: "zipkin"