Kafka now works in kube for calls outside its namespace
[nonrtric.git] / test / simulator-group / dmaapmr / svc.yaml
1 apiVersion: v1
2 kind: Service
3 metadata:
4   name: $MR_ZOOKEEPER_APP_NAME
5   namespace: $KUBE_ONAP_NAMESPACE
6   labels:
7     run: $MR_ZOOKEEPER_APP_NAME
8     autotest: DMAAPMR
9 spec:
10   type: ClusterIP
11   ports:
12   - port: $MR_ZOOKEEPER_PORT
13     targetPort: $MR_ZOOKEEPER_PORT
14     protocol: TCP
15     name: http
16   selector:
17     run: $MR_ZOOKEEPER_APP_NAME
18 ---
19 apiVersion: v1
20 kind: Service
21 metadata:
22   name: $MR_KAFKA_APP_NAME
23   namespace: $KUBE_ONAP_NAMESPACE
24   labels:
25     run: $MR_KAFKA_APP_NAME
26     autotest: DMAAPMR
27 spec:
28   type: ClusterIP
29   ports:
30   - port: $MR_KAFKA_PORT
31     targetPort: $MR_KAFKA_PORT
32     protocol: TCP
33     name: http
34   selector:
35     run: $MR_KAFKA_APP_NAME
36 ---
37 apiVersion: v1
38 kind: Service
39 metadata:
40   name: $MR_DMAAP_APP_NAME
41   namespace: $KUBE_ONAP_NAMESPACE
42   labels:
43     run: $MR_DMAAP_APP_NAME
44     autotest: DMAAPMR
45 spec:
46   type: ClusterIP
47   ports:
48   - port: $MR_EXTERNAL_PORT
49     targetPort: $MR_INTERNAL_PORT
50     protocol: TCP
51     name: http
52   - port: $MR_EXTERNAL_SECURE_PORT
53     targetPort: $MR_INTERNAL_SECURE_PORT
54     protocol: TCP
55     name: https
56   selector:
57     run: $MR_DMAAP_APP_NAME
58
59