blob: 0885affdcf5574eef3240551758649a97a8d900b [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:
39 name: logstash
40 namespace: {{ .Values.nsPrefix }}-log
41 labels:
42 app: logstash
43spec:
44 ports:
45 - name: transport
46 port: 5044
47 targetPort: 5044
48 selector:
49 app: logstash
yurynfcef9942017-10-26 17:10:50 +030050#{{ end }}
51#{{ if not .Values.disableLogKibana }}
Itay Hasside2da86d2017-08-24 12:54:42 +000052---
53apiVersion: v1
54kind: Service
55metadata:
56 labels:
57 app: kibana
58 name: kibana
59 namespace: {{ .Values.nsPrefix }}-log
60spec:
61 ports:
62 - name: tcp-ks
63 port: 5601
64 targetPort: 5601
65 nodePort: {{ .Values.nodePortPrefix }}53
66 selector:
67 app: kibana
68 type: NodePort
BorislavG2631be82017-11-01 12:48:42 +020069#{{ end }}