913b13e20347b05ca8098e898d975994472bac5b
[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: NodePort
29   ports:
30   - port: $MR_KAFKA_PORT
31     targetPort: $MR_KAFKA_PORT
32     protocol: TCP
33     name: http
34   - 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
39   selector:
40     run: $MR_KAFKA_APP_NAME
41 ---
42 apiVersion: v1
43 kind: Service
44 metadata:
45   name: $MR_DMAAP_APP_NAME
46   namespace: $KUBE_ONAP_NAMESPACE
47   labels:
48     run: $MR_DMAAP_APP_NAME
49     autotest: DMAAPMR
50 spec:
51   type: ClusterIP
52   ports:
53   - port: $MR_EXTERNAL_PORT
54     targetPort: $MR_INTERNAL_PORT
55     protocol: TCP
56     name: http
57   - port: $MR_EXTERNAL_SECURE_PORT
58     targetPort: $MR_INTERNAL_SECURE_PORT
59     protocol: TCP
60     name: https
61   selector:
62     run: $MR_DMAAP_APP_NAME
63
64