yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableLogElasticsearch }} |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
| 5 | labels: |
| 6 | app: elasticsearch |
| 7 | name: elasticsearch |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 8 | namespace: {{ .Values.nsPrefix }} |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 9 | spec: |
| 10 | ports: |
| 11 | - name: http |
| 12 | port: 9200 |
| 13 | targetPort: 9200 |
| 14 | nodePort: {{ .Values.nodePortPrefix }}54 |
| 15 | selector: |
| 16 | app: elasticsearch |
| 17 | type: NodePort |
BorislavG | 2631be8 | 2017-11-01 12:48:42 +0200 | [diff] [blame] | 18 | --- |
| 19 | apiVersion: v1 |
| 20 | kind: Service |
| 21 | metadata: |
| 22 | name: elasticsearchtcp |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 23 | namespace: {{ .Values.nsPrefix }} |
BorislavG | 2631be8 | 2017-11-01 12:48:42 +0200 | [diff] [blame] | 24 | labels: |
| 25 | app: elasticsearch |
| 26 | spec: |
| 27 | ports: |
| 28 | - name: tcp |
| 29 | port: 9300 |
| 30 | targetPort: 9300 |
| 31 | selector: |
| 32 | app: elasticsearch |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 33 | #{{ end }} |
| 34 | #{{ if not .Values.disableLogLogstash }} |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 35 | --- |
| 36 | apiVersion: v1 |
| 37 | kind: Service |
| 38 | metadata: |
mayankg2703 | 229e537 | 2018-01-29 09:33:56 +0000 | [diff] [blame] | 39 | name: logstashinternal |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 40 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 229e537 | 2018-01-29 09:33:56 +0000 | [diff] [blame] | 41 | labels: |
| 42 | app: logstash |
| 43 | spec: |
| 44 | ports: |
| 45 | - name: http |
| 46 | port: 9600 |
| 47 | targetPort: 9600 |
| 48 | selector: |
| 49 | app: logstash |
| 50 | --- |
| 51 | apiVersion: v1 |
| 52 | kind: Service |
| 53 | metadata: |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 54 | name: logstash |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 55 | namespace: {{ .Values.nsPrefix }} |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 56 | labels: |
| 57 | app: logstash |
| 58 | spec: |
| 59 | ports: |
| 60 | - name: transport |
| 61 | port: 5044 |
| 62 | targetPort: 5044 |
| 63 | selector: |
| 64 | app: logstash |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 65 | #{{ end }} |
| 66 | #{{ if not .Values.disableLogKibana }} |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 67 | --- |
| 68 | apiVersion: v1 |
| 69 | kind: Service |
| 70 | metadata: |
| 71 | labels: |
| 72 | app: kibana |
| 73 | name: kibana |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 74 | namespace: {{ .Values.nsPrefix }} |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 75 | spec: |
| 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 |
BorislavG | 2631be8 | 2017-11-01 12:48:42 +0200 | [diff] [blame] | 84 | #{{ end }} |