BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame^] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: $MR_DMAAP_KUBE_APP_NAME |
| 5 | namespace: $KUBE_ONAP_NAMESPACE |
| 6 | labels: |
| 7 | run: $MR_DMAAP_KUBE_APP_NAME |
| 8 | autotest: DMAAPMR |
| 9 | spec: |
| 10 | type: ClusterIP |
| 11 | ports: |
| 12 | - port: $MR_EXTERNAL_PORT |
| 13 | targetPort: $MR_INTERNAL_PORT |
| 14 | protocol: TCP |
| 15 | name: http |
| 16 | - port: $MR_EXTERNAL_SECURE_PORT |
| 17 | targetPort: $MR_INTERNAL_SECURE_PORT |
| 18 | protocol: TCP |
| 19 | name: https |
| 20 | selector: |
| 21 | run: $MR_DMAAP_KUBE_APP_NAME |
| 22 | --- |
| 23 | apiVersion: v1 |
| 24 | kind: Service |
| 25 | metadata: |
| 26 | name: $MR_KAFKA_BWDS_NAME |
| 27 | namespace: $KUBE_ONAP_NAMESPACE |
| 28 | labels: |
| 29 | run: $MR_KAFKA_BWDS_NAME |
| 30 | autotest: DMAAPMR |
| 31 | spec: |
| 32 | type: ClusterIP |
| 33 | ports: |
| 34 | - port: 9092 |
| 35 | targetPort: 9092 |
| 36 | protocol: TCP |
| 37 | name: http |
| 38 | selector: |
| 39 | run: $MR_KAFKA_BWDS_NAME |
| 40 | --- |
| 41 | apiVersion: v1 |
| 42 | kind: Service |
| 43 | metadata: |
| 44 | name: $MR_ZOOKEEPER_APP_NAME |
| 45 | namespace: $KUBE_ONAP_NAMESPACE |
| 46 | labels: |
| 47 | run: $MR_ZOOKEEPER_APP_NAME |
| 48 | autotest: DMAAPMR |
| 49 | spec: |
| 50 | type: ClusterIP |
| 51 | ports: |
| 52 | - port: 2181 |
| 53 | targetPort: 2181 |
| 54 | protocol: TCP |
| 55 | name: http |
| 56 | selector: |
| 57 | run: $MR_ZOOKEEPER_APP_NAME |