vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 15 | #{{ if not .Values.disableLogElasticsearch }} |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | labels: |
| 20 | app: elasticsearch |
| 21 | name: elasticsearch |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 22 | namespace: {{ .Values.nsPrefix }} |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 23 | spec: |
| 24 | ports: |
| 25 | - name: http |
| 26 | port: 9200 |
| 27 | targetPort: 9200 |
| 28 | nodePort: {{ .Values.nodePortPrefix }}54 |
| 29 | selector: |
| 30 | app: elasticsearch |
| 31 | type: NodePort |
BorislavG | 2631be8 | 2017-11-01 12:48:42 +0200 | [diff] [blame] | 32 | --- |
| 33 | apiVersion: v1 |
| 34 | kind: Service |
| 35 | metadata: |
| 36 | name: elasticsearchtcp |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 37 | namespace: {{ .Values.nsPrefix }} |
BorislavG | 2631be8 | 2017-11-01 12:48:42 +0200 | [diff] [blame] | 38 | labels: |
| 39 | app: elasticsearch |
| 40 | spec: |
| 41 | ports: |
| 42 | - name: tcp |
| 43 | port: 9300 |
| 44 | targetPort: 9300 |
| 45 | selector: |
| 46 | app: elasticsearch |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 47 | #{{ end }} |
| 48 | #{{ if not .Values.disableLogLogstash }} |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 49 | --- |
| 50 | apiVersion: v1 |
| 51 | kind: Service |
| 52 | metadata: |
mayankg2703 | 229e537 | 2018-01-29 09:33:56 +0000 | [diff] [blame] | 53 | name: logstashinternal |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 54 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 229e537 | 2018-01-29 09:33:56 +0000 | [diff] [blame] | 55 | labels: |
| 56 | app: logstash |
| 57 | spec: |
| 58 | ports: |
| 59 | - name: http |
| 60 | port: 9600 |
| 61 | targetPort: 9600 |
| 62 | selector: |
| 63 | app: logstash |
| 64 | --- |
| 65 | apiVersion: v1 |
| 66 | kind: Service |
| 67 | metadata: |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 68 | name: logstash |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 69 | namespace: {{ .Values.nsPrefix }} |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 70 | labels: |
| 71 | app: logstash |
| 72 | spec: |
| 73 | ports: |
| 74 | - name: transport |
| 75 | port: 5044 |
| 76 | targetPort: 5044 |
Jun (Nicolas) Hu | 827152b | 2018-03-21 15:19:29 -0400 | [diff] [blame] | 77 | nodePort: {{ .Values.nodePortPrefix }}55 |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 78 | selector: |
| 79 | app: logstash |
Jun (Nicolas) Hu | 827152b | 2018-03-21 15:19:29 -0400 | [diff] [blame] | 80 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 81 | #{{ end }} |
| 82 | #{{ if not .Values.disableLogKibana }} |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 83 | --- |
| 84 | apiVersion: v1 |
| 85 | kind: Service |
| 86 | metadata: |
| 87 | labels: |
| 88 | app: kibana |
| 89 | name: kibana |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 90 | namespace: {{ .Values.nsPrefix }} |
Itay Hassid | e2da86d | 2017-08-24 12:54:42 +0000 | [diff] [blame] | 91 | spec: |
| 92 | ports: |
| 93 | - name: tcp-ks |
| 94 | port: 5601 |
| 95 | targetPort: 5601 |
| 96 | nodePort: {{ .Values.nodePortPrefix }}53 |
| 97 | selector: |
| 98 | app: kibana |
| 99 | type: NodePort |
BorislavG | 2631be8 | 2017-11-01 12:48:42 +0200 | [diff] [blame] | 100 | #{{ end }} |