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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
ad24275f
Commit
ad24275f
authored
Apr 14, 2021
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
Add examples for operator
parent
480ea37f
No related branches found
No related tags found
4 merge requests
!159
Re-implementation of Theodolite with Kotlin/Quarkus
,
!157
Update Graal Image in CI pipeline
,
!115
Start using new Theodolite defaults
,
!83
WIP: Re-implementation of Theodolite with Kotlin/Quarkus
Pipeline
#2730
canceled
Apr 14, 2021
Stage: build
Stage: test
Stage: check
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
theodolite-quarkus/config/example-operator-benchmark.yaml
+31
-0
31 additions, 0 deletions
theodolite-quarkus/config/example-operator-benchmark.yaml
theodolite-quarkus/config/example-operator-execution.yaml
+52
-0
52 additions, 0 deletions
theodolite-quarkus/config/example-operator-execution.yaml
with
83 additions
and
0 deletions
theodolite-quarkus/config/example-operator-benchmark.yaml
0 → 100644
+
31
−
0
View file @
ad24275f
apiVersion
:
theodolite.com/v1alpha1
kind
:
benchmark
metadata
:
name
:
uc1-kstreams
#name: "uc1-kstreams"
appResource
:
-
"
uc1-kstreams-deployment.yaml"
-
"
aggregation-service.yaml"
-
"
jmx-configmap.yaml"
-
"
uc1-service-monitor.yaml"
loadGenResource
:
-
"
uc1-load-generator-deployment.yaml"
-
"
uc1-load-generator-service.yaml"
resourceTypes
:
-
typeName
:
"
Instances"
patchers
:
-
type
:
"
ReplicaPatcher"
resource
:
"
uc1-kstreams-deployment.yaml"
loadTypes
:
-
typeName
:
"
NumSensors"
patchers
:
-
type
:
"
EnvVarPatcher"
resource
:
"
uc1-load-generator-deployment.yaml"
container
:
"
workload-generator"
variableName
:
"
NUM_SENSORS"
kafkaConfig
:
bootstrapServer
:
"
theodolite-cp-kafka:9092"
topics
:
-
name
:
"
input"
numPartitions
:
40
replicationFactor
:
1
\ No newline at end of file
This diff is collapsed.
Click to expand it.
theodolite-quarkus/config/example-operator-execution.yaml
0 → 100644
+
52
−
0
View file @
ad24275f
apiVersion
:
theodolite.com/v1alpha1
kind
:
execution
metadata
:
name
:
example-execution
#name: example-execution
benchmark
:
"
uc1-kstreams"
load
:
loadType
:
"
NumSensors"
loadValues
:
[
25000
,
50000
,
75000
,
100000
,
125000
,
150000
]
resources
:
resourceType
:
"
Instances"
resourceValues
:
[
1
,
2
,
3
,
4
,
5
]
slos
:
-
sloType
:
"
lag
trend"
threshold
:
2000
prometheusUrl
:
"
http://prometheus-operated:9090"
externalSloUrl
:
"
http://localhost:80/evaluate-slope"
offset
:
0
warmup
:
60
# in seconds
execution
:
strategy
:
"
LinearSearch"
duration
:
300
# in seconds
repetitions
:
1
restrictions
:
-
"
LowerBound"
configOverrides
:
[]
# - patcher:
# type: "NodeSelectorPatcher"
# resource: "uc1-load-generator-deployment.yaml"
# variableName: "env"
# value: "prod"
# - patcher:
# type: "NodeSelectorPatcher"
# resource: "uc1-kstreams-deployment.yaml"
# variableName: "env"
# value: "prod"
# - patcher:
# type: "ResourceLimitPatcher"
# resource: "uc1-kstreams-deployment.yaml"
# container: "uc-application"
# variableName: "cpu"
# value: "1000m"
# - patcher:
# type: "ResourceLimitPatcher"
# resource: "uc1-kstreams-deployment.yaml"
# container: "uc-application"
# variableName: "memory"
# value: "2Gi"
# - patcher:
# type: "SchedulerNamePatcher"
# resource: "uc1-kstreams-deployment.yaml"
# value: "random-scheduler"
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
sign in
to comment