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