blob: 5f9412e8724249e91d010f764b183cb86d239517 [file] [log] [blame]
Itay Hasside2da86d2017-08-24 12:54:42 +00001apiVersion: v1
2kind: Service
3metadata:
4 labels:
5 app: elasticsearch
6 name: elasticsearch
7 namespace: {{ .Values.nsPrefix }}-log
8spec:
9 ports:
10 - name: http
11 port: 9200
12 targetPort: 9200
13 nodePort: {{ .Values.nodePortPrefix }}54
14 selector:
15 app: elasticsearch
16 type: NodePort
17---
18apiVersion: v1
19kind: Service
20metadata:
21 name: logstash
22 namespace: {{ .Values.nsPrefix }}-log
23 labels:
24 app: logstash
25spec:
26 ports:
27 - name: transport
28 port: 5044
29 targetPort: 5044
30 selector:
31 app: logstash
32---
33apiVersion: v1
34kind: Service
35metadata:
36 labels:
37 app: kibana
38 name: kibana
39 namespace: {{ .Values.nsPrefix }}-log
40spec:
41 ports:
42 - name: tcp-ks
43 port: 5601
44 targetPort: 5601
45 nodePort: {{ .Values.nodePortPrefix }}53
46 selector:
47 app: kibana
48 type: NodePort
49