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.disableDcaeZookeeper }} |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | name: zookeeper |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 20 | namespace: "{{ .Values.nsPrefix }}" |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 21 | labels: |
| 22 | app: zookeeper |
| 23 | spec: |
| 24 | ports: |
| 25 | - name: zookeeper1 |
| 26 | port: 2181 |
| 27 | selector: |
| 28 | app: zookeeper |
| 29 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 30 | #{{ end }} |
| 31 | #{{ if not .Values.disableDcaeKafka }} |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 32 | --- |
| 33 | apiVersion: v1 |
| 34 | kind: Service |
| 35 | metadata: |
| 36 | name: kafka |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 37 | namespace: "{{ .Values.nsPrefix }}" |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 38 | labels: |
| 39 | app: kafka |
| 40 | spec: |
| 41 | ports: |
| 42 | - name: kafka1 |
| 43 | port: 9092 |
| 44 | selector: |
| 45 | app: kafka |
| 46 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 47 | #{{ end }} |
| 48 | #{{ if not .Values.disableDcaeDmaap }} |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 49 | --- |
| 50 | apiVersion: v1 |
| 51 | kind: Service |
| 52 | metadata: |
| 53 | name: dmaap |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 54 | namespace: "{{ .Values.nsPrefix }}" |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 55 | labels: |
| 56 | app: dmaap |
| 57 | version: 1.1.0 |
| 58 | spec: |
| 59 | ports: |
| 60 | - name: mr1 |
| 61 | port: 3904 |
| 62 | #nodePort: {{ .Values.nodePortPrefix }}27 |
| 63 | - name: mr2 |
| 64 | port: 3905 |
| 65 | #nodePort: {{ .Values.nodePortPrefix }}26 |
| 66 | selector: |
| 67 | app: dmaap |
| 68 | #type: NodePort |
| 69 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 70 | #{{ end }} |
| 71 | #{{ if not .Values.disableDcaeDcaePgaas }} |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 72 | --- |
| 73 | apiVersion: v1 |
| 74 | kind: Service |
| 75 | metadata: |
| 76 | name: zldciad4vipstg00 |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 77 | namespace: "{{ .Values.nsPrefix }}" |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 78 | labels: |
| 79 | app: dcae-pgaas |
| 80 | spec: |
| 81 | selector: |
| 82 | app: dcae-pgaas |
| 83 | ports: |
| 84 | - port: 5432 |
| 85 | protocol: TCP |
| 86 | targetPort: 5432 |
| 87 | nodePort: {{ .Values.nodePortPrefix }}45 |
| 88 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 89 | #{{ end }} |
| 90 | #{{ if not .Values.disableDcaeDcaeCollectorCommonEvent }} |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 91 | --- |
| 92 | apiVersion: v1 |
| 93 | kind: Service |
| 94 | metadata: |
| 95 | labels: |
| 96 | app: dcae-collector-common-event |
| 97 | version: latest |
| 98 | name: dcae-collector-common-event |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 99 | namespace: "{{ .Values.nsPrefix }}" |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 100 | spec: |
| 101 | ports: |
| 102 | - name: dcae-ce1 |
| 103 | port: 8080 |
| 104 | protocol: TCP |
| 105 | nodePort: {{ .Values.nodePortPrefix }}36 |
| 106 | - name: dcae-ce2 |
| 107 | port: 8443 |
| 108 | protocol: TCP |
| 109 | nodePort: {{ .Values.nodePortPrefix }}37 |
| 110 | - name: dcae-ce3 |
| 111 | port: 9999 |
| 112 | protocol: TCP |
| 113 | nodePort: {{ .Values.nodePortPrefix }}38 |
| 114 | selector: |
| 115 | app: dcae-collector-common-event |
| 116 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 117 | #{{ end }} |
| 118 | #{{ if not .Values.disableDcaeDcaeCollectorDmaapbc }} |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 119 | --- |
| 120 | apiVersion: v1 |
| 121 | kind: Service |
| 122 | metadata: |
| 123 | labels: |
| 124 | app: dcae-collector-dmaapbc |
| 125 | version: latest |
| 126 | name: dcae-collector-dmaapbc |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 127 | namespace: "{{ .Values.nsPrefix }}" |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 128 | spec: |
| 129 | ports: |
| 130 | - name: dcae-bc1 |
| 131 | port: 8080 |
| 132 | protocol: TCP |
| 133 | targetPort: 8080 |
| 134 | nodePort: {{ .Values.nodePortPrefix }}39 |
| 135 | - name: dcae-bc2 |
| 136 | port: 8443 |
| 137 | protocol: TCP |
| 138 | targetPort: 8443 |
| 139 | nodePort: {{ .Values.nodePortPrefix }}40 |
| 140 | selector: |
| 141 | app: dcae-collector-dmaapbc |
| 142 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 143 | #{{ end }} |