-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
service-distributor.yaml
83 lines (82 loc) · 2.21 KB
/
service-distributor.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
apiVersion: v1
kind: Service
metadata:
name: {{ include "tempo.distributorFullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "tempo.distributorLabels" . | nindent 4 }}
{{- with .Values.distributor.service.annotations }}
annotations:
{{ toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.distributor.service.type }}
ports:
- name: http
port: 3100
targetPort: http
- name: grpc
port: 9095
protocol: TCP
targetPort: 9095
{{- if .Values.traces.jaeger.thriftCompact }}
- name: distributor-jaeger-thrift-compact
port: 6831
protocol: UDP
targetPort: jaeger-compact
{{- end }}
{{- if .Values.traces.jaeger.thriftBinary }}
- name: distributor-jaeger-thrift-binary
port: 6832
protocol: UDP
targetPort: jaeger-binary
{{- end }}
{{- if .Values.traces.jaeger.thriftHttp }}
- name: distributor-jaeger-thrift-http
port: 14268
protocol: TCP
targetPort: jaeger-http
{{- end }}
{{- if .Values.traces.jaeger.grpc }}
- name: distributor-jaeger-grpc
port: 14250
protocol: TCP
targetPort: jaeger-grpc
{{- end }}
{{- if .Values.traces.zipkin }}
- name: distributor-zipkin
port: 9411
protocol: TCP
targetPort: zipkin
{{- end }}
{{- if .Values.traces.otlp.http }}
- name: distributor-otlp-http
port: 55681
protocol: TCP
targetPort: otlp-http
{{- end }}
{{- if .Values.traces.otlp.grpc }}
- name: distributor-otlp-grpc
port: 4317
protocol: TCP
targetPort: otlp-grpc
- name: distributor-otlp-legacy
port: 55680
protocol: TCP
targetPort: otlp-grpc
{{- end }}
{{- if .Values.traces.opencensus }}
- name: distributor-opencensus
port: 55678
protocol: TCP
targetPort: opencensus
{{- end }}
{{- if .Values.distributor.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.distributor.service.loadBalancerIP }}
{{- end }}
{{- with .Values.distributor.service.loadBalancerSourceRanges}}
loadBalancerSourceRanges:
{{ toYaml . | nindent 4 }}
{{- end }}
selector:
{{- include "tempo.distributorSelectorLabels" . | nindent 4 }}