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
Branches
Tags
2 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!152Adjust Benchmark Definitions for Operator
Pipeline #4027 passed
Showing
with 11 additions and 52 deletions
apiVersion: theodolite.com/v1 apiVersion: theodolite.com/v1
kind: benchmark kind: benchmark
spec:
metadata: metadata:
name: uc2-kstreams name: uc2-kstreams
spec:
appResource: appResource:
- "uc2-kstreams-deployment.yaml" - "uc2-kstreams/uc2-kstreams-deployment.yaml"
- "uc2-kstreams-service.yaml" - "uc2-kstreams/uc2-kstreams-service.yaml"
- "uc2-jmx-configmap.yaml" - "uc2-kstreams/uc2-jmx-configmap.yaml"
- "uc2-service-monitor.yaml" - "uc2-kstreams/uc2-service-monitor.yaml"
loadGenResource: loadGenResource:
- "uc2-load-generator-deployment.yaml" - "uc2-kstreams/uc2-load-generator-deployment.yaml"
- "uc2-load-generator-service.yaml" - "uc2-kstreams/uc2-load-generator-service.yaml"
resourceTypes: resourceTypes:
- typeName: "Instances" - typeName: "Instances"
patchers: patchers:
- type: "ReplicaPatcher" - type: "ReplicaPatcher"
resource: "uc2-kstreams-deployment.yaml" resource: "uc2-kstreams/uc2-kstreams-deployment.yaml"
loadTypes: loadTypes:
- typeName: "NumSensors" - typeName: "NumSensors"
patchers: patchers:
- type: "EnvVarPatcher" - type: "EnvVarPatcher"
resource: "uc2-load-generator-deployment.yaml" resource: "uc2-kstreams/uc2-load-generator-deployment.yaml"
properties: properties:
container: "workload-generator" container: "workload-generator"
variableName: "NUM_SENSORS" variableName: "NUM_SENSORS"
- type: NumSensorsLoadGeneratorReplicaPatcher - type: NumSensorsLoadGeneratorReplicaPatcher
resource: "uc2-load-generator-deployment.yaml" resource: "uc2-kstreams/uc2-load-generator-deployment.yaml"
properties: properties:
loadGenMaxRecords: "15000" loadGenMaxRecords: "15000"
kafkaConfig: kafkaConfig:
......
apiVersion: theodolite.com/v1
kind: benchmark
metadata:
name: uc3-kstreams
spec:
appResource:
- "uc3-kstreams/uc3-kstreams-deployment.yaml"
- "uc3-kstreams/uc3-kstreams-service.yaml"
- "uc3-kstreams/uc3-jmx-configmap.yaml"
- "uc3-kstreams/uc3-service-monitor.yaml"
loadGenResource:
- "uc3-kstreams/uc3-load-generator-deployment.yaml"
- "uc3-kstreams/uc3-load-generator-service.yaml"
resourceTypes:
- typeName: "Instances"
patchers:
- type: "ReplicaPatcher"
resource: "uc3-kstreams/uc3-kstreams-deployment.yaml"
loadTypes:
- typeName: "NumSensors"
patchers:
- type: "EnvVarPatcher"
resource: "uc3-kstreams/uc3-load-generator-deployment.yaml"
properties:
container: "workload-generator"
variableName: "NUM_SENSORS"
- type: NumSensorsLoadGeneratorReplicaPatcher
resource: "uc3-kstreams/uc3-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.
Please register or to comment