Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
055e7ee0
Commit
055e7ee0
authored
4 years ago
by
Björn Vonheiden
Committed by
Sören Henning
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
enable setting domain restriction from theodolite.yaml
parent
abc5ef9a
No related branches found
No related tags found
1 merge request
!62
Enable setting domain restriction from theodolite.yaml
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
execution/lib/cli_parser.py
+2
-0
2 additions, 0 deletions
execution/lib/cli_parser.py
execution/theodolite.yaml
+15
-13
15 additions, 13 deletions
execution/theodolite.yaml
with
17 additions
and
13 deletions
execution/lib/cli_parser.py
+
2
−
0
View file @
055e7ee0
...
...
@@ -125,6 +125,8 @@ def benchmark_parser(description):
help
=
'
[mandatory] List of instances used in benchmarks
'
)
parser
.
add_argument
(
'
--domain-restriction
'
,
action
=
"
store_true
"
,
default
=
eval
(
os
.
environ
.
get
(
'
DOMAIN_RESTRICTION
'
,
'
False
'
).
capitalize
()),
help
=
'
To use domain restriction. For details see README
'
)
parser
.
add_argument
(
'
--search-strategy
'
,
metavar
=
'
<strategy>
'
,
...
...
This diff is collapsed.
Click to expand it.
execution/theodolite.yaml
+
15
−
13
View file @
055e7ee0
...
...
@@ -14,22 +14,24 @@ spec:
image
:
bvonheid/theodolite:latest
# imagePullPolicy: Never # Used to pull "own" local image
env
:
-
name
:
UC
-
name
:
UC
# mandatory
value
:
"
1"
-
name
:
LOADS
value
:
"
13206,
19635"
-
name
:
INSTANCES
value
:
"
1,
2"
-
name
:
DURATION
value
:
"
3"
-
name
:
PARTITIONS
value
:
"
30"
-
name
:
LOADS
# mandatory
value
:
"
100000,
200000"
-
name
:
INSTANCES
# mandatory
value
:
"
1,
2,
3"
# - name: DURATION
# value: "5"
# - name: PARTITIONS
# value: "40"
# - name: DOMAIN_RESTRICTION
# value: "True"
# - name: SEARCH_STRATEGY
# value: ""
# value: "
linear-search
"
# - name: CPU_LIMIT
# value: ""
# value: "
1000m
"
# - name: MEMORY_LIMIT
# value: ""
# value: "
4Gi
"
-
name
:
PROMETHEUS_BASE_URL
value
:
"
http://prometheus-operated:9090"
# - name: NAMESPACE
...
...
@@ -38,7 +40,7 @@ spec:
# value: "COMMIT_INTERVAL_MS=100, NUM_STREAM_THREADS=1"
-
name
:
RESULT_PATH
value
:
"
results"
-
name
:
PYTHONUNBUFFERED
-
name
:
PYTHONUNBUFFERED
# Enable logs in Kubernetes
value
:
"
1"
volumeMounts
:
-
mountPath
:
"
/app/results"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment