Skip to content
Snippets Groups Projects
Commit d970f47e authored by Björn Vonheiden's avatar Björn Vonheiden
Browse files

Prepar theodolite script to use namespace

parent 92875b9e
No related branches found
No related tags found
1 merge request!53Configurable Namespace in run uc python
......@@ -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)
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment