diff --git a/theodolite-benchmarks/definitions/uc1-kstreams/uc1-kstreams-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc1-kstreams/uc1-kstreams-benchmark-operator.yaml index 93590ee0e2d90204860ee387b24fcdeae00c4124..6f8f39b396c24a174e98a58d522b00fd010ed2d8 100644 --- a/theodolite-benchmarks/definitions/uc1-kstreams/uc1-kstreams-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc1-kstreams/uc1-kstreams-benchmark-operator.yaml @@ -24,6 +24,27 @@ spec: patchers: - type: "ReplicaPatcher" resource: "uc1-kstreams-deployment.yaml" + - typeName: ThreadsAndPodResources + patchers: + - type: EnvVarPatcher + resource: uc1-kstreams-deployment.yaml + properties: + container: uc-application + variableName: NUM_STREAM_THREADS + - type: ResourceLimitPatcher + resource: uc1-kstreams-deployment.yaml + properties: + container: uc-application + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: uc1-kstreams-deployment.yaml + properties: + container: uc-application + limitedResource: memory + factor: 4 + format: Gi loadTypes: - typeName: "NumSensors" patchers: diff --git a/theodolite-benchmarks/definitions/uc2-kstreams/uc2-kstreams-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc2-kstreams/uc2-kstreams-benchmark-operator.yaml index 5856ee45ef6aeafa70853559aba11baa395599ff..25acd09d5b75c282dc1a0e6e12764880b89d87b2 100644 --- a/theodolite-benchmarks/definitions/uc2-kstreams/uc2-kstreams-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc2-kstreams/uc2-kstreams-benchmark-operator.yaml @@ -24,6 +24,27 @@ spec: patchers: - type: "ReplicaPatcher" resource: "uc2-kstreams-deployment.yaml" + - typeName: ThreadsAndPodResources + patchers: + - type: EnvVarPatcher + resource: uc2-kstreams-deployment.yaml + properties: + container: uc-application + variableName: NUM_STREAM_THREADS + - type: ResourceLimitPatcher + resource: uc2-kstreams-deployment.yaml + properties: + container: uc-application + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: uc2-kstreams-deployment.yaml + properties: + container: uc-application + limitedResource: memory + factor: 4 + format: Gi loadTypes: - typeName: "NumSensors" patchers: diff --git a/theodolite-benchmarks/definitions/uc3-kstreams/uc3-kstreams-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc3-kstreams/uc3-kstreams-benchmark-operator.yaml index 2fca5cb26bef717db0e73fdcd1a75bb9357b5be1..c527f20a091d245365769732ea97eebdbcc63370 100644 --- a/theodolite-benchmarks/definitions/uc3-kstreams/uc3-kstreams-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc3-kstreams/uc3-kstreams-benchmark-operator.yaml @@ -24,6 +24,27 @@ spec: patchers: - type: "ReplicaPatcher" resource: "uc3-kstreams-deployment.yaml" + - typeName: ThreadsAndPodResources + patchers: + - type: EnvVarPatcher + resource: uc3-kstreams-deployment.yaml + properties: + container: uc-application + variableName: NUM_STREAM_THREADS + - type: ResourceLimitPatcher + resource: uc3-kstreams-deployment.yaml + properties: + container: uc-application + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: uc3-kstreams-deployment.yaml + properties: + container: uc-application + limitedResource: memory + factor: 4 + format: Gi loadTypes: - typeName: "NumSensors" patchers: diff --git a/theodolite-benchmarks/definitions/uc4-kstreams/uc4-kstreams-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc4-kstreams/uc4-kstreams-benchmark-operator.yaml index 489fc8eb0b82818ece6f8599da8afbf475a0bf45..06e692f608698675a89f1236438483d300de5101 100644 --- a/theodolite-benchmarks/definitions/uc4-kstreams/uc4-kstreams-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc4-kstreams/uc4-kstreams-benchmark-operator.yaml @@ -24,6 +24,27 @@ spec: patchers: - type: "ReplicaPatcher" resource: "uc4-kstreams-deployment.yaml" + - typeName: ThreadsAndPodResources + patchers: + - type: EnvVarPatcher + resource: uc4-kstreams-deployment.yaml + properties: + container: uc-application + variableName: NUM_STREAM_THREADS + - type: ResourceLimitPatcher + resource: uc4-kstreams-deployment.yaml + properties: + container: uc-application + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: uc4-kstreams-deployment.yaml + properties: + container: uc-application + limitedResource: memory + factor: 4 + format: Gi loadTypes: - typeName: "NumNestedGroups" patchers: