diff options
author | kjaniak <kornel.janiak@nokia.com> | 2019-07-30 09:32:56 +0200 |
---|---|---|
committer | kjaniak <kornel.janiak@nokia.com> | 2019-09-06 08:10:52 +0200 |
commit | b373b4f0e193b84908f1671202a39e20c09a2a47 (patch) | |
tree | d2393083e1208c7b2372371962ed619e87810e7f /tools/performance/cloud/consumer-deployment.yaml | |
parent | 5e94e2e955615167e9fd8dec69e2e67a7a337dac (diff) |
Add Prometheus deployment for HV-VES performance tests - cloud
Script for cloud is updated with proper prometheus config and deployment.
Change-Id: Icf2527e76bc2028807653313c8ec978d779c6ec9
Issue-ID: DCAEGEN2-1692
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Diffstat (limited to 'tools/performance/cloud/consumer-deployment.yaml')
-rwxr-xr-x | tools/performance/cloud/consumer-deployment.yaml | 44 |
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 |