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
Merge requests
!32
Draft: Create instances count as required
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Draft: Create instances count as required
issue61-fix-distributed-wl-generation-kubernetes
into
master
Overview
0
Commits
4
Pipelines
4
Changes
2
Merged
Sören Henning
requested to merge
issue61-fix-distributed-wl-generation-kubernetes
into
master
4 years ago
Overview
0
Commits
4
Pipelines
4
Changes
2
Expand
Will fix
#61 (closed)
Edited
4 years ago
by
Sören Henning
0
0
Merge request reports
Viewing commit
eaf4b6de
Prev
Next
Show latest version
2 files
+
11
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
eaf4b6de
Create instances count as required
· eaf4b6de
Sören Henning
authored
4 years ago
execution/run_uc2.sh
+
6
−
0
Options
@@ -26,7 +26,13 @@ kubectl exec kafka-client -- bash -c "kafka-topics --zookeeper my-confluent-cp-z
# Start workload generator
NUM_NESTED_GROUPS
=
$DIM_VALUE
WL_MAX_RECORDS
=
150000
APROX_NUM_SENSORS
=
$((
4
**
NUM_NESTED_GROUPS
))
NUM_NESTED_GROUPS
WL_INSTANCES
=
$((
(
APROX_NUM_SENSORS
+
(
WL_MAX_RECORDS
-
1
))
/ WL_MAX_RECORDS
))
sed
"s/{{NUM_NESTED_GROUPS}}/
$NUM_NESTED_GROUPS
/g"
uc2-workload-generator/deployment.yaml | kubectl apply
-f
-
WORKLOAD_GENERATOR_YAML
=
$(
sed
"s/{{NUM_NESTED_GROUPS}}/
$NUM_NESTED_GROUPS
/g; s/{{INSTANCES}}/
$WL_INSTANCES
/g"
uc2-workload-generator/deployment.yaml
)
echo
"
$WORKLOAD_GENERATOR_YAML
"
| kubectl apply
-f
-
# Start application
REPLICAS
=
$INSTANCES
Loading