run UC as python implementation
Compare changes
- Björn Vonheiden authored
Use the API instead of the kubectl program from the host machine. This enables better portability of the script to other machines.
+ 58
− 26
@@ -102,7 +102,7 @@ def create_topics(topics):
@@ -142,7 +142,9 @@ def load_yaml_files():
@@ -168,7 +170,7 @@ def start_workload_generator(wg_yaml):
@@ -181,6 +183,7 @@ def start_application(svc_yaml, svc_monitor_yaml, jmx_yaml, deploy_yaml):
@@ -191,8 +194,9 @@ def start_application(svc_yaml, svc_monitor_yaml, jmx_yaml, deploy_yaml):
@@ -204,16 +208,18 @@ def start_application(svc_yaml, svc_monitor_yaml, jmx_yaml, deploy_yaml):
@@ -225,12 +231,13 @@ def start_application(svc_yaml, svc_monitor_yaml, jmx_yaml, deploy_yaml):
@@ -259,6 +266,19 @@ def run_evaluation_script():
@@ -268,18 +288,30 @@ def stop_applications(wg, app_svc, app_svc_monitor, app_jmx, app_deploy):
@@ -304,7 +336,7 @@ def delete_topics(topics):
@@ -314,7 +346,7 @@ def delete_topics(topics):
@@ -373,7 +405,7 @@ def main():
@@ -381,5 +413,5 @@ def main():