summaryrefslogtreecommitdiffstats
path: root/tools/performance/cloud/consumer-deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/performance/cloud/consumer-deployment.yaml')
-rwxr-xr-xtools/performance/cloud/consumer-deployment.yaml44
1 files changed, 41 insertions, 3 deletions
diff --git a/tools/performance/cloud/consumer-deployment.yaml b/tools/performance/cloud/consumer-deployment.yaml
index 5d382a42..179f246c 100755
--- a/tools/performance/cloud/consumer-deployment.yaml
+++ b/tools/performance/cloud/consumer-deployment.yaml
@@ -34,6 +34,7 @@ spec:
metadata:
labels:
app: hv-collector-kafka-consumer
+ name: kafka-counting-consumer
annotations:
prometheus.io/port: "8080"
prometheus.io/scrape: "true"
@@ -41,7 +42,7 @@ spec:
spec:
containers:
- name: kafka-consumer-counting
- image: nexus3.dyn.nesc.nokia.net:10001/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-kafka-consumer:1.3.0-SNAPSHOT
+ image: nexus3.dyn.nesc.nokia.net:10001/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-kafka-consumer:latest
ports:
- containerPort: 8080
env:
@@ -77,6 +78,7 @@ spec:
metadata:
labels:
app: hv-collector-kafka-consumer
+ name: kafka-processing-consumer
annotations:
prometheus.io/port: "8080"
prometheus.io/scrape: "true"
@@ -84,7 +86,7 @@ spec:
spec:
containers:
- name: kafka-processing-consumer
- image: nexus3.dyn.nesc.nokia.net:10001/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-kafka-consumer:1.3.0-SNAPSHOT
+ image: nexus3.dyn.nesc.nokia.net:10001/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-kafka-consumer:latest
ports:
- containerPort: 8080
env:
@@ -99,4 +101,40 @@ spec:
valueFrom:
configMapKeyRef:
name: performance-test-config
- key: consumer.kafka.topics \ No newline at end of file
+ key: consumer.kafka.topics
+
+---
+
+apiVersion: v1
+kind: Service
+metadata:
+ name: kafka-counting-consumer
+ namespace: onap
+ labels:
+ app: hv-collector-kafka-consumer
+spec:
+ selector:
+ name: kafka-counting-consumer
+ type: ClusterIP
+ ports:
+ - protocol: TCP
+ port: 6062
+ targetPort: 8080
+
+---
+
+apiVersion: v1
+kind: Service
+metadata:
+ name: kafka-processing-consumer
+ namespace: onap
+ labels:
+ app: hv-collector-kafka-consumer
+spec:
+ selector:
+ name: kafka-processing-consumer
+ type: ClusterIP
+ ports:
+ - protocol: TCP
+ port: 6063
+ targetPort: 8080