Adaptation of test env to helm chart
[nonrtric.git] / test / simulator-group / dmaapmr / svc.yaml
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: 9095
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
58
59
60 # ---
61 # apiVersion: v1
62 # kind: Service
63 # metadata:
64 #   name: dmaap-mr
65 #   namespace: $KUBE_ONAP_NAMESPACE
66 #   labels:
67 #     run: $MR_DMAAP_KUBE_APP_NAME
68 #     autotest: DMAAPMR
69 # spec:
70 #   type: ClusterIP
71 #   ports:
72 #   - port: $MR_EXTERNAL_PORT
73 #     targetPort: $MR_INTERNAL_PORT
74 #     protocol: TCP
75 #     name: http
76 #   - port: $MR_EXTERNAL_SECURE_PORT
77 #     targetPort: $MR_INTERNAL_SECURE_PORT
78 #     protocol: TCP
79 #     name: https
80 #   selector:
81 #     run: $MR_DMAAP_KUBE_APP_NAME
82 # ---
83 # apiVersion: v1
84 # kind: Service
85 # metadata:
86 #   name: dmaap-kafka
87 #   namespace: $KUBE_ONAP_NAMESPACE
88 #   labels:
89 #     run: $MR_KAFKA_BWDS_NAME
90 #     autotest: DMAAPMR
91 # spec:
92 #   type: ClusterIP
93 #   ports:
94 #   - port: 9092
95 #     targetPort: 9092
96 #     protocol: TCP
97 #     name: http
98 #   selector:
99 #     run: $MR_KAFKA_BWDS_NAME
100 # ---
101 # apiVersion: v1
102 # kind: Service
103 # metadata:
104 #   name: kafka
105 #   namespace: $KUBE_ONAP_NAMESPACE
106 #   labels:
107 #     run: $MR_KAFKA_BWDS_NAME
108 #     autotest: DMAAPMR
109 # spec:
110 #   type: ClusterIP
111 #   ports:
112 #   - port: 9092
113 #     targetPort: 9092
114 #     protocol: TCP
115 #     name: http
116 #   selector:
117 #     run: $MR_KAFKA_BWDS_NAME
118 # ---
119 # apiVersion: v1
120 # kind: Service
121 # metadata:
122 #   name: dmaap-zookeeper
123 #   namespace: $KUBE_ONAP_NAMESPACE
124 #   labels:
125 #     run: $MR_ZOOKEEPER_APP_NAME
126 #     autotest: DMAAPMR
127 # spec:
128 #   type: ClusterIP
129 #   ports:
130 #   - port: 2181
131 #     targetPort: 2181
132 #     protocol: TCP
133 #     name: http
134 #   selector:
135     run: $MR_ZOOKEEPER_APP_NAME