From d970f47e202f1d10ff97b6e59763decc87267d8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Vonheiden?= <bjoern.vonheiden@hotmail.de> Date: Thu, 5 Nov 2020 17:37:36 +0100 Subject: [PATCH] Prepar theodolite script to use namespace --- execution/theodolite.py | 4 ++-- execution/theodolite.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/execution/theodolite.py b/execution/theodolite.py index 2c45bc067..9ca98ddc4 100755 --- a/execution/theodolite.py +++ b/execution/theodolite.py @@ -29,7 +29,7 @@ def load_variables(): return args -def main(uc, loads, instances_list, partitions, cpu_limit, memory_limit, commit_ms, duration, domain_restriction, search_strategy, reset, reset_only): +def main(uc, loads, instances_list, partitions, cpu_limit, memory_limit, commit_ms, duration, domain_restriction, search_strategy, reset, reset_only, namespace): print(f"Domain restriction of search space activated: {domain_restriction}") print(f"Chosen search strategy: {search_strategy}") @@ -175,4 +175,4 @@ if __name__ == '__main__': main(args.uc, args.loads, args.instances_list, args.partitions, args.cpu_limit, args.memory_limit, args.commit_ms, args.duration, args.domain_restriction, args.search_strategy, args.reset, - args.reset_only) + args.reset_only, args.namespace) diff --git a/execution/theodolite.yaml b/execution/theodolite.yaml index d5e821469..c083d327e 100644 --- a/execution/theodolite.yaml +++ b/execution/theodolite.yaml @@ -30,6 +30,8 @@ spec: # value: "" - name: PROMETHEUS_BASE_URL value: "http://prometheus-operated:9090" + # - name: NAMESPACE + # value: "default" - name: PYTHONUNBUFFERED value: "1" restartPolicy: Never -- GitLab