From c4d160810505186e5aad3e80e645918b1bc4e10f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <post@soeren-henning.de> Date: Fri, 31 Jul 2020 11:03:45 +0200 Subject: [PATCH] Fix delete of workload generator --- execution/run_uc2.sh | 3 ++- execution/run_uc4.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/execution/run_uc2.sh b/execution/run_uc2.sh index a68cefb06..57cf7df7e 100755 --- a/execution/run_uc2.sh +++ b/execution/run_uc2.sh @@ -54,7 +54,8 @@ python lag_analysis.py $EXP_ID uc2 $DIM_VALUE $INSTANCES $EXECUTION_MINUTES deactivate # Stop wl and app -kubectl delete -f uc2-workload-generator/deployment.yaml +#sed "s/{{INSTANCES}}/1/g" uc1-workload-generator/deployment.yaml | kubectl delete -f - +echo "$WORKLOAD_GENERATOR_YAML" | kubectl delete -f - kubectl delete -f uc2-application/aggregation-service.yaml kubectl delete -f uc2-application/jmx-configmap.yaml kubectl delete -f uc2-application/service-monitor.yaml diff --git a/execution/run_uc4.sh b/execution/run_uc4.sh index 79bec3081..b206928f2 100755 --- a/execution/run_uc4.sh +++ b/execution/run_uc4.sh @@ -54,7 +54,8 @@ python lag_analysis.py $EXP_ID uc4 $DIM_VALUE $INSTANCES $EXECUTION_MINUTES deactivate # Stop wl and app -kubectl delete -f uc4-workload-generator/deployment.yaml +#sed "s/{{INSTANCES}}/1/g" uc1-workload-generator/deployment.yaml | kubectl delete -f - +echo "$WORKLOAD_GENERATOR_YAML" | kubectl delete -f - kubectl delete -f uc4-application/aggregation-service.yaml kubectl delete -f uc4-application/jmx-configmap.yaml kubectl delete -f uc4-application/service-monitor.yaml -- GitLab