Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | labels: |
| 5 | app: elasticsearch |
| 6 | name: elasticsearch |
| 7 | namespace: {{ .Values.nsPrefix }}-log |
| 8 | spec: |
| 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 | --- |
| 18 | apiVersion: v1 |
| 19 | kind: Service |
| 20 | metadata: |
| 21 | name: logstash |
| 22 | namespace: {{ .Values.nsPrefix }}-log |
| 23 | labels: |
| 24 | app: logstash |
| 25 | spec: |
| 26 | ports: |
| 27 | - name: transport |
| 28 | port: 5044 |
| 29 | targetPort: 5044 |
| 30 | selector: |
| 31 | app: logstash |
| 32 | --- |
| 33 | apiVersion: v1 |
| 34 | kind: Service |
| 35 | metadata: |
| 36 | labels: |
| 37 | app: kibana |
| 38 | name: kibana |
| 39 | namespace: {{ .Values.nsPrefix }}-log |
| 40 | spec: |
| 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 | |