Skip to content
Snippets Groups Projects
Commit aca4ca48 authored by Sören Henning's avatar Sören Henning
Browse files

Change directory structure of benchmark defs

parent 2a7730c2
No related branches found
No related tags found
2 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!152Adjust Benchmark Definitions for Operator
Pipeline #4027 passed
Showing
with 17 additions and 103 deletions
cd uc1-flink/ kubectl create configmap benchmark-resources-uc1-flink --from-file uc1-flink/resources
kubectl create configmap benchmark-resources-uc1-flink --from-file . kubectl create configmap benchmark-resources-uc2-flink --from-file uc2-flink/resources
cd ../uc2-flink/ kubectl create configmap benchmark-resources-uc3-flink --from-file uc3-flink/resources
kubectl create configmap benchmark-resources-uc2-flink --from-file . kubectl create configmap benchmark-resources-uc4-flink --from-file uc4-flink/resources
cd ../uc3-flink/ kubectl create configmap benchmark-resources-uc1-kstreams --from-file uc1-kstreams/resources
kubectl create configmap benchmark-resources-uc3-flink --from-file . kubectl create configmap benchmark-resources-uc2-kstreams --from-file uc2-kstreams/resources
cd ../uc4-flink/ kubectl create configmap benchmark-resources-uc3-kstreams --from-file uc3-kstreams/resources
kubectl create configmap benchmark-resources-uc4-flink --from-file . kubectl create configmap benchmark-resources-uc4-kstreams --from-file uc4-kstreams/resources
cd ../uc1-kstreams/ \ No newline at end of file
kubectl create configmap benchmark-resources-uc1-kstreams --from-file .
cd ../uc2-kstreams/
kubectl create configmap benchmark-resources-uc2-kstreams --from-file .
cd ../uc3-kstreams/
kubectl create configmap benchmark-resources-uc3-kstreams --from-file .
cd ../uc4-kstreams/
kubectl create configmap benchmark-resources-uc4-kstreams --from-file .
cd ..
\ No newline at end of file
apiVersion: theodolite.com/v1
kind: benchmark
metadata:
name: uc1-kstreams
spec:
appResource:
- "uc1-kstreams/uc1-kstreams-deployment.yaml"
- "uc1-kstreams/uc1-kstreams-service.yaml"
- "uc1-kstreams/uc1-jmx-configmap.yaml"
- "uc1-kstreams/uc1-service-monitor.yaml"
loadGenResource:
- "uc1-kstreams/uc1-load-generator-deployment.yaml"
- "uc1-kstreams/uc1-load-generator-service.yaml"
resourceTypes:
- typeName: "Instances"
patchers:
- type: "ReplicaPatcher"
resource: "uc1-kstreams/uc1-kstreams-deployment.yaml"
loadTypes:
- typeName: "NumSensors"
patchers:
- type: "EnvVarPatcher"
resource: "uc1-kstreams/uc1-load-generator-deployment.yaml"
properties:
container: "workload-generator"
variableName: "NUM_SENSORS"
- type: "NumSensorsLoadGeneratorReplicaPatcher"
resource: "uc1-kstreams/uc1-load-generator-deployment.yaml"
properties:
loadGenMaxRecords: "15000"
kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092"
topics:
- name: "input"
numPartitions: 40
replicationFactor: 1
...@@ -4,28 +4,28 @@ metadata: ...@@ -4,28 +4,28 @@ metadata:
name: uc1-kstreams name: uc1-kstreams
spec: spec:
appResource: appResource:
- "uc1-kstreams-deployment.yaml" - "uc1-kstreams/uc1-kstreams-deployment.yaml"
- "uc1-kstreams-service.yaml" - "uc1-kstreams/uc1-kstreams-service.yaml"
- "uc1-jmx-configmap.yaml" - "uc1-kstreams/uc1-jmx-configmap.yaml"
- "uc1-service-monitor.yaml" - "uc1-kstreams/uc1-service-monitor.yaml"
loadGenResource: loadGenResource:
- "uc1-load-generator-deployment.yaml" - "uc1-kstreams/uc1-load-generator-deployment.yaml"
- "uc1-load-generator-service.yaml" - "uc1-kstreams/uc1-load-generator-service.yaml"
resourceTypes: resourceTypes:
- typeName: "Instances" - typeName: "Instances"
patchers: patchers:
- type: "ReplicaPatcher" - type: "ReplicaPatcher"
resource: "uc1-kstreams-deployment.yaml" resource: "uc1-kstreams/uc1-kstreams-deployment.yaml"
loadTypes: loadTypes:
- typeName: "NumSensors" - typeName: "NumSensors"
patchers: patchers:
- type: "EnvVarPatcher" - type: "EnvVarPatcher"
resource: "uc1-load-generator-deployment.yaml" resource: "uc1-kstreams/uc1-load-generator-deployment.yaml"
properties: properties:
container: "workload-generator" container: "workload-generator"
variableName: "NUM_SENSORS" variableName: "NUM_SENSORS"
- type: "NumSensorsLoadGeneratorReplicaPatcher" - type: "NumSensorsLoadGeneratorReplicaPatcher"
resource: "uc1-load-generator-deployment.yaml" resource: "uc1-kstreams/uc1-load-generator-deployment.yaml"
properties: properties:
loadGenMaxRecords: "15000" loadGenMaxRecords: "15000"
kafkaConfig: kafkaConfig:
......
apiVersion: theodolite.com/v1
kind: benchmark
metadata:
name: uc2-kstreams
spec:
appResource:
- "uc2-kstreams/uc2-kstreams-deployment.yaml"
- "uc2-kstreams/uc2-kstreams-service.yaml"
- "uc2-kstreams/uc2-jmx-configmap.yaml"
- "uc2-kstreams/uc2-service-monitor.yaml"
loadGenResource:
- "uc2-kstreams/uc2-load-generator-deployment.yaml"
- "uc2-kstreams/uc2-load-generator-service.yaml"
resourceTypes:
- typeName: "Instances"
patchers:
- type: "ReplicaPatcher"
resource: "uc2-kstreams/uc2-kstreams-deployment.yaml"
loadTypes:
- typeName: "NumSensors"
patchers:
- type: "EnvVarPatcher"
resource: "uc2-kstreams/uc2-load-generator-deployment.yaml"
properties:
container: "workload-generator"
variableName: "NUM_SENSORS"
- type: NumSensorsLoadGeneratorReplicaPatcher
resource: "uc2-kstreams/uc2-load-generator-deployment.yaml"
properties:
loadGenMaxRecords: "15000"
kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092"
topics:
- name: "input"
numPartitions: 40
replicationFactor: 1
- name: "output"
numPartitions: 40
replicationFactor: 1
- name: "theodolite-.*"
removeOnly: True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment