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
288a7557
Commit
288a7557
authored
4 years ago
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
Reset execution time to 5 minutes
parent
7844395b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
execution/run_uc4-new.sh
+4
-1
4 additions, 1 deletion
execution/run_uc4-new.sh
with
4 additions
and
1 deletion
execution/run_uc4-new.sh
+
4
−
1
View file @
288a7557
...
@@ -4,7 +4,7 @@ EXP_ID=$1
...
@@ -4,7 +4,7 @@ EXP_ID=$1
DIM_VALUE
=
$2
DIM_VALUE
=
$2
INSTANCES
=
$3
INSTANCES
=
$3
PARTITIONS
=
$4
PARTITIONS
=
$4
EXECUTION_MINUTES
=
10
EXECUTION_MINUTES
=
5
# Maybe start up Kafka
# Maybe start up Kafka
...
@@ -16,11 +16,14 @@ kubectl exec kafka-client -- bash -c "kafka-topics --zookeeper my-confluent-cp-z
...
@@ -16,11 +16,14 @@ kubectl exec kafka-client -- bash -c "kafka-topics --zookeeper my-confluent-cp-z
# Start workload generator
# Start workload generator
NUM_SENSORS
=
$DIM_VALUE
NUM_SENSORS
=
$DIM_VALUE
#NUM_SENSORS=xy
sed
"s/{{NUM_SENSORS}}/
$NUM_SENSORS
/g"
uc4-workload-generator/deployment.yaml | kubectl apply
-f
-
sed
"s/{{NUM_SENSORS}}/
$NUM_SENSORS
/g"
uc4-workload-generator/deployment.yaml | kubectl apply
-f
-
# Start application
# Start application
REPLICAS
=
$INSTANCES
REPLICAS
=
$INSTANCES
#AGGREGATION_DURATION_DAYS=$DIM_VALUE
kubectl apply
-f
uc4-application/aggregation-deployment.yaml
kubectl apply
-f
uc4-application/aggregation-deployment.yaml
#sed "s/{{AGGREGATION_DURATION_DAYS}}/$AGGREGATION_DURATION_DAYS/g" uc4-application/aggregation-deployment.yaml | kubectl apply -f -
kubectl scale deployment titan-ccp-aggregation
--replicas
=
$REPLICAS
kubectl scale deployment titan-ccp-aggregation
--replicas
=
$REPLICAS
# Execute for certain time
# Execute for certain time
...
...
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