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

Prepar theodolite script to use namespace

parent 1d903b8d
Branches
Tags
No related merge requests found
...@@ -29,7 +29,7 @@ def load_variables(): ...@@ -29,7 +29,7 @@ def load_variables():
return args 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"Domain restriction of search space activated: {domain_restriction}")
print(f"Chosen search strategy: {search_strategy}") print(f"Chosen search strategy: {search_strategy}")
...@@ -175,4 +175,4 @@ if __name__ == '__main__': ...@@ -175,4 +175,4 @@ if __name__ == '__main__':
main(args.uc, args.loads, args.instances_list, args.partitions, args.cpu_limit, main(args.uc, args.loads, args.instances_list, args.partitions, args.cpu_limit,
args.memory_limit, args.commit_ms, args.duration, args.memory_limit, args.commit_ms, args.duration,
args.domain_restriction, args.search_strategy, args.reset, args.domain_restriction, args.search_strategy, args.reset,
args.reset_only) args.reset_only, args.namespace)
...@@ -30,6 +30,8 @@ spec: ...@@ -30,6 +30,8 @@ spec:
# value: "" # value: ""
- name: PROMETHEUS_BASE_URL - name: PROMETHEUS_BASE_URL
value: "http://prometheus-operated:9090" value: "http://prometheus-operated:9090"
# - name: NAMESPACE
# value: "default"
- name: PYTHONUNBUFFERED - name: PYTHONUNBUFFERED
value: "1" value: "1"
restartPolicy: Never restartPolicy: Never
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment