diff --git a/theodolite-quarkus/config/example-execution-yaml-resource.yaml b/theodolite-quarkus/config/example-execution-yaml-resource.yaml deleted file mode 100644 index e0b327a022099410fea8028fb5d37fee5672a857..0000000000000000000000000000000000000000 --- a/theodolite-quarkus/config/example-execution-yaml-resource.yaml +++ /dev/null @@ -1,49 +0,0 @@ -name: example-execution -benchmark: "uc1-kstreams" -load: - loadType: "NumSensors" - loadValues: [25000, 50000, 75000, 100000, 125000, 150000] -resources: - resourceType: "Instances" - resourceValues: [1, 2, 3, 4, 5] -slos: - - sloType: "lag trend" - threshold: 2000 - prometheusUrl: "http://prometheus-operated:9090" - externalSloUrl: "http://localhost:80/evaluate-slope" - offset: 0 - warmup: 60 # in seconds -execution: - strategy: "LinearSearch" - duration: 300 # in seconds - repetitions: 1 - loadGenerationDelay: 30 # in seconds, optional field, default is 0 seconds - restrictions: - - "LowerBound" -configOverrides: [] -# - patcher: -# type: "NodeSelectorPatcher" -# resource: "uc1-load-generator-deployment.yaml" -# variableName: "env" -# value: "prod" -# - patcher: -# type: "NodeSelectorPatcher" -# resource: "uc1-kstreams-deployment.yaml" -# variableName: "env" -# value: "prod" -# - patcher: -# type: "ResourceLimitPatcher" -# resource: "uc1-kstreams-deployment.yaml" -# container: "uc-application" -# variableName: "cpu" -# value: "1000m" -# - patcher: -# type: "ResourceLimitPatcher" -# resource: "uc1-kstreams-deployment.yaml" -# container: "uc-application" -# variableName: "memory" -# value: "2Gi" -# - patcher: -# type: "SchedulerNamePatcher" -# resource: "uc1-kstreams-deployment.yaml" -# value: "random-scheduler" diff --git a/theodolite-quarkus/examples/operator/example-benchmark.yaml b/theodolite-quarkus/examples/operator/example-benchmark.yaml index 829194f11d0dfe71cf487bef61baa19fee00efb5..91d9f8f1f7dfed31d9edcb59947af4e832ca2843 100644 --- a/theodolite-quarkus/examples/operator/example-benchmark.yaml +++ b/theodolite-quarkus/examples/operator/example-benchmark.yaml @@ -22,10 +22,12 @@ spec: - type: "EnvVarPatcher" resource: "uc1-load-generator-deployment.yaml" properties: - container: "workload-generator" variableName: "NUM_SENSORS" + container: "workload-generator" - type: "NumSensorsLoadGeneratorReplicaPatcher" resource: "uc1-load-generator-deployment.yaml" + properties: + loadGenMaxRecords: "15000" kafkaConfig: bootstrapServer: "theodolite-cp-kafka:9092" topics: @@ -33,4 +35,4 @@ spec: numPartitions: 40 replicationFactor: 1 - name: "theodolite-.*" - removeOnly: True + removeOnly: True \ No newline at end of file diff --git a/theodolite-quarkus/examples/operator/example-execution.yaml b/theodolite-quarkus/examples/operator/example-execution.yaml index 4227020e7750c8e93f92c469d7796e381eb452e3..5386fd7c8665e01302067da81c5dd4caf87fc602 100644 --- a/theodolite-quarkus/examples/operator/example-execution.yaml +++ b/theodolite-quarkus/examples/operator/example-execution.yaml @@ -2,40 +2,56 @@ apiVersion: theodolite.com/v1 kind: execution metadata: name: theodolite-example-execution -spec: - benchmark: uc1-kstreams - load: +spec: + benchmark: "uc1-kstreams" + load: loadType: "NumSensors" - loadValues: - - 50000 + loadValues: [25000, 50000, 75000, 100000, 125000, 150000] resources: resourceType: "Instances" - resourceValues: - - 1 + resourceValues: [1, 2, 3, 4, 5] slos: - sloType: "lag trend" - threshold: 1000 - prometheusUrl: "http://localhost:32656" + threshold: 2000 + prometheusUrl: "http://prometheus-operated:9090" externalSloUrl: "http://localhost:80/evaluate-slope" offset: 0 - warmup: 0 + warmup: 60 # in seconds execution: strategy: "LinearSearch" - duration: 60 + duration: 300 # in seconds repetitions: 1 loadGenerationDelay: 30 # in seconds restrictions: - "LowerBound" configOverrides: - - patcher: - type: "NodeSelectorPatcher" - resource: "uc1-load-generator-deployment.yaml" - container: "" - variableName: "env" - value: "prod" - - patcher: - type: "NodeSelectorPatcher" - resource: "uc1-kstreams-deployment.yaml" - container: "" - variableName: "env" - value: "prod" + # - patcher: + # type: "NodeSelectorPatcher" + # resource: "uc1-load-generator-deployment.yaml" + # properties: + # variableName: "env" + # value: "prod" + # - patcher: + # type: "NodeSelectorPatcher" + # resource: "uc1-kstreams-deployment.yaml" + # properties: + # variableName: "env" + # value: "prod" + # - patcher: + # type: "ResourceLimitPatcher" + # resource: "uc1-kstreams-deployment.yaml" + # properties: + # container: "uc-application" + # limitedResource: "cpu" + # value: "1000m" + # - patcher: + # type: "ResourceLimitPatcher" + # resource: "uc1-kstreams-deployment.yaml" + # properties: + # container: "uc-application" + # limitedResource: "memory" + # value: "2Gi" + # - patcher: + # type: "SchedulerNamePatcher" + # resource: "uc1-kstreams-deployment.yaml" + # value: "random-scheduler" diff --git a/theodolite-quarkus/examples/standalone/example-benchmark.yaml b/theodolite-quarkus/examples/standalone/example-benchmark.yaml index cdc2122d9e6b568f1a75b0d55eff8a0af6450983..83edce93834ca9b8eef5606c1e5884ce40bdd7d8 100644 --- a/theodolite-quarkus/examples/standalone/example-benchmark.yaml +++ b/theodolite-quarkus/examples/standalone/example-benchmark.yaml @@ -17,10 +17,13 @@ loadTypes: patchers: - type: "EnvVarPatcher" resource: "uc1-load-generator-deployment.yaml" - container: "workload-generator" - variableName: "NUM_SENSORS" + properties: + variableName: "NUM_SENSORS" + container: "workload-generator" - type: "NumSensorsLoadGeneratorReplicaPatcher" resource: "uc1-load-generator-deployment.yaml" + properties: + loadGenMaxRecords: "15000" kafkaConfig: bootstrapServer: "localhost:31290" topics: @@ -28,4 +31,4 @@ kafkaConfig: numPartitions: 40 replicationFactor: 1 - name: "theodolite-.*" - removeOnly: True \ No newline at end of file + removeOnly: True diff --git a/theodolite-quarkus/examples/standalone/example-execution.yaml b/theodolite-quarkus/examples/standalone/example-execution.yaml index f49721041a17331798ddd3110dbb943a96c67e4e..24b2b7f32e803553a4a13b76869ccf4cf3f6e5a5 100644 --- a/theodolite-quarkus/examples/standalone/example-execution.yaml +++ b/theodolite-quarkus/examples/standalone/example-execution.yaml @@ -17,6 +17,7 @@ execution: strategy: "LinearSearch" duration: 300 # in seconds repetitions: 1 + loadGenerationDelay: 30 # in seconds, optional field, default is 0 seconds restrictions: - "LowerBound" -configOverrides: [] +configOverrides: [] \ No newline at end of file