blob: a40a4da0e803b262f7aef73e4ba5632c266ab1e0 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableLogElasticsearch }}
Itay Hasside2da86d2017-08-24 12:54:42 +00002apiVersion: v1
3kind: Service
4metadata:
5 labels:
6 app: elasticsearch
7 name: elasticsearch
BorislavG8bfc6cf2018-02-27 15:04:26 +00008 namespace: {{ .Values.nsPrefix }}
Itay Hasside2da86d2017-08-24 12:54:42 +00009spec:
10 ports:
11 - name: http
12 port: 9200
13 targetPort: 9200
14 nodePort: {{ .Values.nodePortPrefix }}54
15 selector:
16 app: elasticsearch
17 type: NodePort
BorislavG2631be82017-11-01 12:48:42 +020018---
19apiVersion: v1
20kind: Service
21metadata:
22 name: elasticsearchtcp
BorislavG8bfc6cf2018-02-27 15:04:26 +000023 namespace: {{ .Values.nsPrefix }}
BorislavG2631be82017-11-01 12:48:42 +020024 labels:
25 app: elasticsearch
26spec:
27 ports:
28 - name: tcp
29 port: 9300
30 targetPort: 9300
31 selector:
32 app: elasticsearch
yurynfcef9942017-10-26 17:10:50 +030033#{{ end }}
34#{{ if not .Values.disableLogLogstash }}
Itay Hasside2da86d2017-08-24 12:54:42 +000035---
36apiVersion: v1
37kind: Service
38metadata:
mayankg2703229e5372018-01-29 09:33:56 +000039 name: logstashinternal
BorislavG8bfc6cf2018-02-27 15:04:26 +000040 namespace: {{ .Values.nsPrefix }}
mayankg2703229e5372018-01-29 09:33:56 +000041 labels:
42 app: logstash
43spec:
44 ports:
45 - name: http
46 port: 9600
47 targetPort: 9600
48 selector:
49 app: logstash
50---
51apiVersion: v1
52kind: Service
53metadata:
Itay Hasside2da86d2017-08-24 12:54:42 +000054 name: logstash
BorislavG8bfc6cf2018-02-27 15:04:26 +000055 namespace: {{ .Values.nsPrefix }}
Itay Hasside2da86d2017-08-24 12:54:42 +000056 labels:
57 app: logstash
58spec:
59 ports:
60 - name: transport
61 port: 5044
62 targetPort: 5044
63 selector:
64 app: logstash
yurynfcef9942017-10-26 17:10:50 +030065#{{ end }}
66#{{ if not .Values.disableLogKibana }}
Itay Hasside2da86d2017-08-24 12:54:42 +000067---
68apiVersion: v1
69kind: Service
70metadata:
71 labels:
72 app: kibana
73 name: kibana
BorislavG8bfc6cf2018-02-27 15:04:26 +000074 namespace: {{ .Values.nsPrefix }}
Itay Hasside2da86d2017-08-24 12:54:42 +000075spec:
76 ports:
77 - name: tcp-ks
78 port: 5601
79 targetPort: 5601
80 nodePort: {{ .Values.nodePortPrefix }}53
81 selector:
82 app: kibana
83 type: NodePort
BorislavG2631be82017-11-01 12:48:42 +020084#{{ end }}