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

Fix benchmark API format

parent 082d1718
No related branches found
No related tags found
2 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!152Adjust Benchmark Definitions for Operator
This commit is part of merge request !152. Comments created here will be created in the context of that merge request.
apiVersion: theodolite.com/v1alpha1 apiVersion: theodolite.com/v1
kind: benchmark kind: benchmark
metadata: metadata:
name: uc1-flink name: uc1-flink
spec:
appResource: appResource:
- "uc1-flink/flink-configuration-configmap.yaml" - "uc1-flink/flink-configuration-configmap.yaml"
- "uc1-flink/taskmanager-deployment.yaml" - "uc1-flink/taskmanager-deployment.yaml"
...@@ -20,10 +21,12 @@ resourceTypes: ...@@ -20,10 +21,12 @@ resourceTypes:
resource: "uc1-flink/taskmanager-deployment.yaml" resource: "uc1-flink/taskmanager-deployment.yaml"
- type: "EnvVarPatcher" - type: "EnvVarPatcher"
resource: "uc1-flink/jobmanager-deployment.yaml" resource: "uc1-flink/jobmanager-deployment.yaml"
properties:
container: "jobmanager" container: "jobmanager"
variableName: "PARALLELISM" variableName: "PARALLELISM"
- type: "EnvVarPatcher" # required? - type: "EnvVarPatcher" # required?
resource: "uc1-flink/taskmanager-deployment.yaml" resource: "uc1-flink/taskmanager-deployment.yaml"
properties:
container: "taskmanager" container: "taskmanager"
variableName: "PARALLELISM" variableName: "PARALLELISM"
loadTypes: loadTypes:
...@@ -31,6 +34,7 @@ loadTypes: ...@@ -31,6 +34,7 @@ loadTypes:
patchers: patchers:
- type: "EnvVarPatcher" - type: "EnvVarPatcher"
resource: "uc1-kstreams/uc1-load-generator-deployment.yaml" resource: "uc1-kstreams/uc1-load-generator-deployment.yaml"
properties:
container: "workload-generator" container: "workload-generator"
variableName: "NUM_SENSORS" variableName: "NUM_SENSORS"
- type: NumSensorsLoadGeneratorReplicaPatcher - type: NumSensorsLoadGeneratorReplicaPatcher
... ...
......
apiVersion: theodolite.com/v1alpha1 apiVersion: theodolite.com/v1
kind: benchmark kind: benchmark
metadata: metadata:
name: uc2-kstreams name: uc2-kstreams
spec:
appResource: appResource:
- "uc2-kstreams/uc2-kstreams-deployment.yaml" - "uc2-kstreams/uc2-kstreams-deployment.yaml"
- "uc2-kstreams/uc2-kstreams-service.yaml" - "uc2-kstreams/uc2-kstreams-service.yaml"
...@@ -20,10 +21,13 @@ loadTypes: ...@@ -20,10 +21,13 @@ loadTypes:
patchers: patchers:
- type: "EnvVarPatcher" - type: "EnvVarPatcher"
resource: "uc2-kstreams/uc2-load-generator-deployment.yaml" resource: "uc2-kstreams/uc2-load-generator-deployment.yaml"
properties:
container: "workload-generator" container: "workload-generator"
variableName: "NUM_SENSORS" variableName: "NUM_SENSORS"
- type: NumSensorsLoadGeneratorReplicaPatcher - type: NumSensorsLoadGeneratorReplicaPatcher
resource: "uc2-kstreams/uc2-load-generator-deployment.yaml" resource: "uc2-kstreams/uc2-load-generator-deployment.yaml"
properties:
loadGenMaxRecords: "15000"
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092" bootstrapServer: "theodolite-cp-kafka:9092"
topics: topics:
... ...
......
apiVersion: theodolite.com/v1alpha1 apiVersion: theodolite.com/v1
kind: benchmark kind: benchmark
metadata: metadata:
name: uc2-flink name: uc2-flink
spec:
appResource: appResource:
- "uc2-flink/flink-configuration-configmap.yaml" - "uc2-flink/flink-configuration-configmap.yaml"
- "uc2-flink/taskmanager-deployment.yaml" - "uc2-flink/taskmanager-deployment.yaml"
...@@ -20,10 +21,12 @@ resourceTypes: ...@@ -20,10 +21,12 @@ resourceTypes:
resource: "uc2-flink/taskmanager-deployment.yaml" resource: "uc2-flink/taskmanager-deployment.yaml"
- type: "EnvVarPatcher" - type: "EnvVarPatcher"
resource: "uc2-flink/jobmanager-deployment.yaml" resource: "uc2-flink/jobmanager-deployment.yaml"
properties:
container: "jobmanager" container: "jobmanager"
variableName: "PARALLELISM" variableName: "PARALLELISM"
- type: "EnvVarPatcher" # required? - type: "EnvVarPatcher" # required?
resource: "uc2-flink/taskmanager-deployment.yaml" resource: "uc2-flink/taskmanager-deployment.yaml"
properties:
container: "taskmanager" container: "taskmanager"
variableName: "PARALLELISM" variableName: "PARALLELISM"
loadTypes: loadTypes:
...@@ -31,6 +34,7 @@ loadTypes: ...@@ -31,6 +34,7 @@ loadTypes:
patchers: patchers:
- type: "EnvVarPatcher" - type: "EnvVarPatcher"
resource: "uc2-kstreams/uc2-load-generator-deployment.yaml" resource: "uc2-kstreams/uc2-load-generator-deployment.yaml"
properties:
container: "workload-generator" container: "workload-generator"
variableName: "NUM_SENSORS" variableName: "NUM_SENSORS"
- type: NumSensorsLoadGeneratorReplicaPatcher - type: NumSensorsLoadGeneratorReplicaPatcher
... ...
......
apiVersion: theodolite.com/v1alpha1 apiVersion: theodolite.com/v1
kind: benchmark kind: benchmark
metadata: metadata:
name: uc3-kstreams name: uc3-kstreams
spec:
appResource: appResource:
- "uc3-kstreams/uc3-kstreams-deployment.yaml" - "uc3-kstreams/uc3-kstreams-deployment.yaml"
- "uc3-kstreams/uc3-kstreams-service.yaml" - "uc3-kstreams/uc3-kstreams-service.yaml"
...@@ -20,10 +21,13 @@ loadTypes: ...@@ -20,10 +21,13 @@ loadTypes:
patchers: patchers:
- type: "EnvVarPatcher" - type: "EnvVarPatcher"
resource: "uc3-kstreams/uc3-load-generator-deployment.yaml" resource: "uc3-kstreams/uc3-load-generator-deployment.yaml"
properties:
container: "workload-generator" container: "workload-generator"
variableName: "NUM_SENSORS" variableName: "NUM_SENSORS"
- type: NumSensorsLoadGeneratorReplicaPatcher - type: NumSensorsLoadGeneratorReplicaPatcher
resource: "uc3-kstreams/uc3-load-generator-deployment.yaml" resource: "uc3-kstreams/uc3-load-generator-deployment.yaml"
properties:
loadGenMaxRecords: "15000"
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092" bootstrapServer: "theodolite-cp-kafka:9092"
topics: topics:
... ...
......
apiVersion: theodolite.com/v1alpha1 apiVersion: theodolite.com/v1
kind: benchmark kind: benchmark
metadata: metadata:
name: uc3-flink name: uc3-flink
spec:
appResource: appResource:
- "uc3-flink/flink-configuration-configmap.yaml" - "uc3-flink/flink-configuration-configmap.yaml"
- "uc3-flink/taskmanager-deployment.yaml" - "uc3-flink/taskmanager-deployment.yaml"
...@@ -20,10 +21,12 @@ resourceTypes: ...@@ -20,10 +21,12 @@ resourceTypes:
resource: "uc3-flink/taskmanager-deployment.yaml" resource: "uc3-flink/taskmanager-deployment.yaml"
- type: "EnvVarPatcher" - type: "EnvVarPatcher"
resource: "uc3-flink/jobmanager-deployment.yaml" resource: "uc3-flink/jobmanager-deployment.yaml"
properties:
container: "jobmanager" container: "jobmanager"
variableName: "PARALLELISM" variableName: "PARALLELISM"
- type: "EnvVarPatcher" # required? - type: "EnvVarPatcher" # required?
resource: "uc3-flink/taskmanager-deployment.yaml" resource: "uc3-flink/taskmanager-deployment.yaml"
properties:
container: "taskmanager" container: "taskmanager"
variableName: "PARALLELISM" variableName: "PARALLELISM"
loadTypes: loadTypes:
...@@ -31,6 +34,7 @@ loadTypes: ...@@ -31,6 +34,7 @@ loadTypes:
patchers: patchers:
- type: "EnvVarPatcher" - type: "EnvVarPatcher"
resource: "uc3-kstreams/uc3-load-generator-deployment.yaml" resource: "uc3-kstreams/uc3-load-generator-deployment.yaml"
properties:
container: "workload-generator" container: "workload-generator"
variableName: "NUM_SENSORS" variableName: "NUM_SENSORS"
- type: NumSensorsLoadGeneratorReplicaPatcher - type: NumSensorsLoadGeneratorReplicaPatcher
... ...
......
apiVersion: theodolite.com/v1alpha1 apiVersion: theodolite.com/v1
kind: benchmark kind: benchmark
metadata: metadata:
name: uc4-kstreams name: uc4-kstreams
spec:
appResource: appResource:
- "uc4-kstreams/uc4-kstreams-deployment.yaml" - "uc4-kstreams/uc4-kstreams-deployment.yaml"
- "uc4-kstreams/uc4-kstreams-service.yaml" - "uc4-kstreams/uc4-kstreams-service.yaml"
...@@ -20,10 +21,14 @@ loadTypes: ...@@ -20,10 +21,14 @@ loadTypes:
patchers: patchers:
- type: "EnvVarPatcher" - type: "EnvVarPatcher"
resource: "uc4-kstreams/uc4-load-generator-deployment.yaml" resource: "uc4-kstreams/uc4-load-generator-deployment.yaml"
properties:
container: "workload-generator" container: "workload-generator"
variableName: "NUM_NESTED_GROUPS" variableName: "NUM_SENSORS"
- type: "NumNestedGroupsLoadGeneratorReplicaPatcher" - type: NumNestedGroupsLoadGeneratorReplicaPatcher
resource: "uc4-kstreams/uc4-load-generator-deployment.yaml" resource: "uc4-kstreams/uc4-load-generator-deployment.yaml"
properties:
loadGenMaxRecords: "15000"
numSensors: "4.0"
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092" bootstrapServer: "theodolite-cp-kafka:9092"
topics: topics:
... ...
......
apiVersion: theodolite.com/v1alpha1 apiVersion: theodolite.com/v1
kind: benchmark kind: benchmark
metadata: metadata:
name: uc4-flink name: uc4-flink
spec:
appResource: appResource:
- "uc4-flink/flink-configuration-configmap.yaml" - "uc4-flink/flink-configuration-configmap.yaml"
- "uc4-flink/taskmanager-deployment.yaml" - "uc4-flink/taskmanager-deployment.yaml"
...@@ -20,10 +21,12 @@ resourceTypes: ...@@ -20,10 +21,12 @@ resourceTypes:
resource: "uc4-flink/taskmanager-deployment.yaml" resource: "uc4-flink/taskmanager-deployment.yaml"
- type: "EnvVarPatcher" - type: "EnvVarPatcher"
resource: "uc4-flink/jobmanager-deployment.yaml" resource: "uc4-flink/jobmanager-deployment.yaml"
properties:
container: "jobmanager" container: "jobmanager"
variableName: "PARALLELISM" variableName: "PARALLELISM"
- type: "EnvVarPatcher" # required? - type: "EnvVarPatcher" # required?
resource: "uc4-flink/taskmanager-deployment.yaml" resource: "uc4-flink/taskmanager-deployment.yaml"
properties:
container: "taskmanager" container: "taskmanager"
variableName: "PARALLELISM" variableName: "PARALLELISM"
loadTypes: loadTypes:
...@@ -31,6 +34,7 @@ loadTypes: ...@@ -31,6 +34,7 @@ loadTypes:
patchers: patchers:
- type: "EnvVarPatcher" - type: "EnvVarPatcher"
resource: "uc4-kstreams/uc4-load-generator-deployment.yaml" resource: "uc4-kstreams/uc4-load-generator-deployment.yaml"
properties:
container: "workload-generator" container: "workload-generator"
variableName: "NUM_NESTED_GROUPS" variableName: "NUM_NESTED_GROUPS"
- type: "NumNestedGroupsLoadGeneratorReplicaPatcher" - type: "NumNestedGroupsLoadGeneratorReplicaPatcher"
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment