blob: 913b13e20347b05ca8098e898d975994472bac5b [file] [log] [blame]
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +01001apiVersion: v1
2kind: Service
3metadata:
BjornMagnussonXA79e37002021-11-22 13:36:04 +01004 name: $MR_ZOOKEEPER_APP_NAME
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +01005 namespace: $KUBE_ONAP_NAMESPACE
6 labels:
BjornMagnussonXA79e37002021-11-22 13:36:04 +01007 run: $MR_ZOOKEEPER_APP_NAME
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +01008 autotest: DMAAPMR
9spec:
10 type: ClusterIP
11 ports:
BjornMagnussonXA79e37002021-11-22 13:36:04 +010012 - port: $MR_ZOOKEEPER_PORT
13 targetPort: $MR_ZOOKEEPER_PORT
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010014 protocol: TCP
15 name: http
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010016 selector:
BjornMagnussonXA79e37002021-11-22 13:36:04 +010017 run: $MR_ZOOKEEPER_APP_NAME
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010018---
19apiVersion: v1
20kind: Service
21metadata:
BjornMagnussonXA6fc58fd2021-11-18 08:19:45 +010022 name: $MR_KAFKA_APP_NAME
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010023 namespace: $KUBE_ONAP_NAMESPACE
24 labels:
BjornMagnussonXA6fc58fd2021-11-18 08:19:45 +010025 run: $MR_KAFKA_APP_NAME
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010026 autotest: DMAAPMR
27spec:
BjornMagnussonXAecf34532021-11-24 08:25:15 +010028 type: NodePort
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010029 ports:
BjornMagnussonXA6fc58fd2021-11-18 08:19:45 +010030 - port: $MR_KAFKA_PORT
31 targetPort: $MR_KAFKA_PORT
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010032 protocol: TCP
33 name: http
BjornMagnussonXAecf34532021-11-24 08:25:15 +010034 - port: $MR_KAFKA_KUBE_NODE_PORT
35 targetPort: $MR_KAFKA_KUBE_NODE_PORT
36 protocol: TCP
37 name: http-external
38 nodePort: $MR_KAFKA_KUBE_NODE_PORT
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010039 selector:
BjornMagnussonXA6fc58fd2021-11-18 08:19:45 +010040 run: $MR_KAFKA_APP_NAME
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010041---
42apiVersion: v1
43kind: Service
44metadata:
BjornMagnussonXA79e37002021-11-22 13:36:04 +010045 name: $MR_DMAAP_APP_NAME
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010046 namespace: $KUBE_ONAP_NAMESPACE
47 labels:
BjornMagnussonXA79e37002021-11-22 13:36:04 +010048 run: $MR_DMAAP_APP_NAME
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010049 autotest: DMAAPMR
50spec:
51 type: ClusterIP
52 ports:
BjornMagnussonXA79e37002021-11-22 13:36:04 +010053 - port: $MR_EXTERNAL_PORT
54 targetPort: $MR_INTERNAL_PORT
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010055 protocol: TCP
56 name: http
BjornMagnussonXA79e37002021-11-22 13:36:04 +010057 - port: $MR_EXTERNAL_SECURE_PORT
58 targetPort: $MR_INTERNAL_SECURE_PORT
59 protocol: TCP
60 name: https
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010061 selector:
BjornMagnussonXA79e37002021-11-22 13:36:04 +010062 run: $MR_DMAAP_APP_NAME
63
64