blob: e8b6b816da9915a15f3e7af56c4a54954fd08697 [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
8 namespace: {{ .Values.nsPrefix }}-log
9spec:
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
23 namespace: {{ .Values.nsPrefix }}-log
24 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
40 namespace: {{ .Values.nsPrefix }}-log
41 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
55 namespace: {{ .Values.nsPrefix }}-log
56 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
74 namespace: {{ .Values.nsPrefix }}-log
75spec:
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 }}