yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableMessageRouterZookeeper }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
| 5 | name: zookeeper |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 6 | namespace: "{{ .Values.nsPrefix }}-message-router" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 7 | labels: |
| 8 | app: zookeeper |
| 9 | spec: |
| 10 | ports: |
| 11 | - name: zookeeper1 |
| 12 | port: 2181 |
| 13 | selector: |
| 14 | app: zookeeper |
| 15 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 16 | #{{ end }} |
| 17 | #{{ if not .Values.disableMessageRouterGlobalKafka }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 18 | --- |
| 19 | apiVersion: v1 |
| 20 | kind: Service |
| 21 | metadata: |
| 22 | name: global-kafka |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 23 | namespace: "{{ .Values.nsPrefix }}-message-router" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 24 | labels: |
| 25 | app: global-kafka |
| 26 | spec: |
| 27 | ports: |
| 28 | - name: kafka1 |
| 29 | port: 9092 |
| 30 | selector: |
| 31 | app: global-kafka |
| 32 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 33 | #{{ end }} |
| 34 | #{{ if not .Values.disableMessageRouterDmaap }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 35 | --- |
| 36 | apiVersion: v1 |
| 37 | kind: Service |
| 38 | metadata: |
| 39 | name: dmaap |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 40 | namespace: "{{ .Values.nsPrefix }}-message-router" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 41 | labels: |
| 42 | app: dmaap |
| 43 | version: 1.0.0 |
HuabingZhao | d5f7e84 | 2017-09-13 22:49:23 -0400 | [diff] [blame] | 44 | annotations: |
| 45 | msb.onap.org/service-info: '[ |
| 46 | { |
| 47 | "serviceName": "message-router", |
| 48 | "version": "v1", |
| 49 | "url": "/", |
| 50 | "protocol": "REST", |
| 51 | "port": "3904", |
| 52 | "visualRange":"1" |
| 53 | } |
| 54 | ]' |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 55 | spec: |
| 56 | ports: |
| 57 | - name: mr1 |
| 58 | port: 3904 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 59 | nodePort: {{ .Values.nodePortPrefix }}27 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 60 | - name: mr2 |
| 61 | port: 3905 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 62 | nodePort: {{ .Values.nodePortPrefix }}26 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 63 | selector: |
| 64 | app: dmaap |
| 65 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 66 | #{{ end }} |