diff --git a/theodolite-benchmarks/definitions/uc1-beam-samza/uc1-beam-samza-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc1-beam-samza/uc1-beam-samza-benchmark-operator.yaml index 615511caf2840c5b43b149d0c82daed0e62e111d..08d86ad97fb283f63d6df75e2cfb4deb242e4d72 100644 --- a/theodolite-benchmarks/definitions/uc1-beam-samza/uc1-beam-samza-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc1-beam-samza/uc1-beam-samza-benchmark-operator.yaml @@ -36,6 +36,27 @@ spec: patchers: - type: "ReplicaPatcher" resource: "uc1-beam-samza-deployment.yaml" + - typeName: ThreadsAndPodResources + patchers: + - type: EnvVarPatcher + resource: uc1-beam-samza-deployment.yaml + properties: + container: uc1-beam-samza + variableName: SAMZA_JOB_CONTAINER_THREADS_POOL_SIZE + - type: ResourceLimitPatcher + resource: uc1-beam-samza-deployment.yaml + properties: + container: uc1-beam-samza + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: uc1-beam-samza-deployment.yaml + properties: + container: uc1-beam-samza + limitedResource: memory + factor: 4 + format: Gi loadTypes: - typeName: "NumSensors" patchers: diff --git a/theodolite-benchmarks/definitions/uc2-beam-samza/uc2-beam-samza-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc2-beam-samza/uc2-beam-samza-benchmark-operator.yaml index c385df649ae9d333ae6319631a3211cf441b48e5..f179cec2c2e660c7cadd3f1dc82e0a18907a3413 100644 --- a/theodolite-benchmarks/definitions/uc2-beam-samza/uc2-beam-samza-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc2-beam-samza/uc2-beam-samza-benchmark-operator.yaml @@ -36,6 +36,27 @@ spec: patchers: - type: "ReplicaPatcher" resource: "uc2-beam-samza-deployment.yaml" + - typeName: ThreadsAndPodResources + patchers: + - type: EnvVarPatcher + resource: uc2-beam-samza-deployment.yaml + properties: + container: uc2-beam-samza + variableName: SAMZA_JOB_CONTAINER_THREADS_POOL_SIZE + - type: ResourceLimitPatcher + resource: uc2-beam-samza-deployment.yaml + properties: + container: uc2-beam-samza + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: uc2-beam-samza-deployment.yaml + properties: + container: uc2-beam-samza + limitedResource: memory + factor: 4 + format: Gi loadTypes: - typeName: "NumSensors" patchers: diff --git a/theodolite-benchmarks/definitions/uc3-beam-samza/uc3-beam-samza-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc3-beam-samza/uc3-beam-samza-benchmark-operator.yaml index 6fde25874d9a0e23fab4b21ef927ba12920aab45..cc3af9f51a873487e9603f353c6ebf16b26e5613 100644 --- a/theodolite-benchmarks/definitions/uc3-beam-samza/uc3-beam-samza-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc3-beam-samza/uc3-beam-samza-benchmark-operator.yaml @@ -36,6 +36,27 @@ spec: patchers: - type: "ReplicaPatcher" resource: "uc3-beam-samza-deployment.yaml" + - typeName: ThreadsAndPodResources + patchers: + - type: EnvVarPatcher + resource: uc3-beam-samza-deployment.yaml + properties: + container: uc3-beam-samza + variableName: SAMZA_JOB_CONTAINER_THREADS_POOL_SIZE + - type: ResourceLimitPatcher + resource: uc3-beam-samza-deployment.yaml + properties: + container: uc3-beam-samza + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: uc3-beam-samza-deployment.yaml + properties: + container: uc3-beam-samza + limitedResource: memory + factor: 4 + format: Gi loadTypes: - typeName: "NumSensors" patchers: diff --git a/theodolite-benchmarks/definitions/uc4-beam-samza/uc4-beam-samza-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc4-beam-samza/uc4-beam-samza-benchmark-operator.yaml index b07976d82d70157d5f8ff1e7ecf498168f12a269..fcded561ea80c2c33ec63fdd18f374ca1a8dbcfc 100644 --- a/theodolite-benchmarks/definitions/uc4-beam-samza/uc4-beam-samza-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc4-beam-samza/uc4-beam-samza-benchmark-operator.yaml @@ -36,6 +36,27 @@ spec: patchers: - type: "ReplicaPatcher" resource: "uc4-beam-samza-deployment.yaml" + - typeName: ThreadsAndPodResources + patchers: + - type: EnvVarPatcher + resource: uc4-beam-samza-deployment.yaml + properties: + container: uc4-beam-samza + variableName: SAMZA_JOB_CONTAINER_THREADS_POOL_SIZE + - type: ResourceLimitPatcher + resource: uc4-beam-samza-deployment.yaml + properties: + container: uc4-beam-samza + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: uc4-beam-samza-deployment.yaml + properties: + container: uc4-beam-samza + limitedResource: memory + factor: 4 + format: Gi loadTypes: - typeName: "NumNestedGroups" patchers: