-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathproxy-service.yaml
66 lines (66 loc) · 1.89 KB
/
proxy-service.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
{{- if .Values.proxy.enabled }}
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name : {{ template "wavefront.fullname" . }}
helm.sh/chart: {{ template "wavefront.chart" . }}
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
app.kubernetes.io.instance: {{ .Release.Name | quote }}
app.kubernetes.io/component: proxy
name: {{ template "wavefront.proxy.fullname" . }}
spec:
ports:
- name: wavefront
port: {{ .Values.proxy.port }}
protocol: TCP
{{- if .Values.proxy.tracePort }}
- name: wavefront-trace
port: {{ .Values.proxy.tracePort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.jaegerPort }}
- name: jaeger
port: {{ .Values.proxy.jaegerPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.traceJaegerHttpListenerPort }}
- name: jaeger-thriftdata
port: {{ .Values.proxy.traceJaegerHttpListenerPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.zipkinPort }}
- name: zipkin
port: {{ .Values.proxy.zipkinPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.histogramPort }}
- name: histogram
port: {{ .Values.proxy.histogramPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.histogramMinutePort }}
- name: histogram-minute
port: {{ .Values.proxy.histogramMinutePort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.histogramHourPort }}
- name: histogram-hour
port: {{ .Values.proxy.histogramHourPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.histogramDayPort }}
- name: histogram-day
port: {{ .Values.proxy.histogramDayPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.deltaCounterPort }}
- name: delta-counter
port: {{ .Values.proxy.deltaCounterPort }}
protocol: TCP
{{- end }}
selector:
app.kubernetes.io/name : {{ template "wavefront.fullname" .}}
app.kubernetes.io/component: proxy
type: ClusterIP
{{ end }}