aboutsummaryrefslogtreecommitdiffstats
path: root/tools/performance/cloud/producer-pod.yaml
diff options
context:
space:
mode:
authorkjaniak <kornel.janiak@nokia.com>2019-07-12 14:29:25 +0200
committerkjaniak <kornel.janiak@nokia.com>2019-07-17 15:11:07 +0200
commite117efb15a1202e982c69a3686f049211f7889db (patch)
tree5a64d574ec414a5f75cb8e52a819dde2092589cd /tools/performance/cloud/producer-pod.yaml
parenta313a7fb4ba81e960397ec432ce02c28804a44b4 (diff)
Adding script for Performance tests of HV-VES on cloud
Change-Id: If71b0e8b04ce23a5daafef632788667ccd50c1a1 Issue-ID: DCAEGEN2-1664 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Diffstat (limited to 'tools/performance/cloud/producer-pod.yaml')
-rwxr-xr-x[-rw-r--r--]tools/performance/cloud/producer-pod.yaml20
1 files changed, 7 insertions, 13 deletions
diff --git a/tools/performance/cloud/producer-pod.yaml b/tools/performance/cloud/producer-pod.yaml
index 75d03795..b3248cba 100644..100755
--- a/tools/performance/cloud/producer-pod.yaml
+++ b/tools/performance/cloud/producer-pod.yaml
@@ -19,25 +19,20 @@
apiVersion: v1
kind: Pod
metadata:
- name: hv-collector-producer
+ generateName: hv-collector-producer-
namespace: onap
labels:
app: hv-collector-producer
spec:
containers:
- name: hv-collector-producer
- image: the-a-team-registry-local.esisoj70.emea.nsn-net.net/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-rust-client:latest
+ image: the-a-team-registry-local.esisoj70.emea.nsn-net.net/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-go-client:latest
env:
- name: HV_VES_ADDRESS
valueFrom:
configMapKeyRef:
name: performance-test-config
key: producer.hvVesAddress
- - name: CLIENTS_COUNT
- valueFrom:
- configMapKeyRef:
- name: performance-test-config
- key: producer.client.count
- name: MSG_SIZE
valueFrom:
configMapKeyRef:
@@ -53,9 +48,8 @@ spec:
configMapKeyRef:
name: performance-test-config
key: producer.message.interval
- args: ["--ssl-disable",
- "--address", "$HV_VES_ADDRESS",
- "--clients", "$CLIENTS_COUNT",
- "--msgsize", "$MSG_SIZE",
- "--msgcount", "$MSG_COUNT",
- "--intervalms", "$INTERVAL_MS"] \ No newline at end of file
+ args: ["--address", "$(HV_VES_ADDRESS)",
+ "--msgsize", "$(MSG_SIZE)",
+ "--msgcount", "$(MSG_COUNT)",
+ "--intervalms", "$(INTERVAL_MS)"]
+ restartPolicy: Never \ No newline at end of file