From c7ef9368450358e31750eef1d739a2f0698c1aeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Vonheiden?= <bjoern.vonheiden@hotmail.de> Date: Tue, 4 Aug 2020 08:02:07 +0200 Subject: [PATCH] Fix errors in run uc scripts - Replicas was String instead of int - uc4 wl had wrong path for kustomize --- execution/run_uc2.sh | 2 +- execution/run_uc4.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/execution/run_uc2.sh b/execution/run_uc2.sh index 7c3be328b..03e4211c3 100755 --- a/execution/run_uc2.sh +++ b/execution/run_uc2.sh @@ -36,7 +36,7 @@ kind: StatefulSet metadata: name: titan-ccp-load-generator spec: - replicas: "$WL_INSTANCES" + replicas: $WL_INSTANCES template: spec: containers: diff --git a/execution/run_uc4.sh b/execution/run_uc4.sh index b09ee1414..7af2262af 100755 --- a/execution/run_uc4.sh +++ b/execution/run_uc4.sh @@ -29,13 +29,13 @@ NUM_SENSORS=$DIM_VALUE WL_MAX_RECORDS=150000 WL_INSTANCES=$(((NUM_SENSORS + (WL_MAX_RECORDS -1 ))/ WL_MAX_RECORDS)) -cat <<EOF >uuc-workload-generator/overlay/c4-workload-generator/set_paramters.yaml +cat <<EOF >uc-workload-generator/overlay/uc4-workload-generator/set_paramters.yaml apiVersion: apps/v1 kind: StatefulSet metadata: name: titan-ccp-load-generator spec: - replicas: "$WL_INSTANCES" + replicas: $WL_INSTANCES template: spec: containers: -- GitLab