diff --git a/theodolite-benchmarks/definitions/uc1-beam-flink/uc1-beam-flink-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc1-beam-flink/uc1-beam-flink-benchmark-operator.yaml index 328a51745abeba130c45e29fa0c62060f852fbcd..471b617c1851a6a4cb35e760985f0011df2ba3bb 100644 --- a/theodolite-benchmarks/definitions/uc1-beam-flink/uc1-beam-flink-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc1-beam-flink/uc1-beam-flink-benchmark-operator.yaml @@ -35,6 +35,39 @@ spec: properties: container: "jobmanager" variableName: "PARALLELISM" + - typeName: TaskSlotsAndPodResources + patchers: + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.numberOfTaskSlots + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: memory + factor: 4 + format: Gi + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.memory.process.size + factor: 4 + suffix: Gb + - type: "EnvVarPatcher" + resource: "jobmanager-deployment.yaml" + properties: + container: "jobmanager" + variableName: "PARALLELISM" loadTypes: - typeName: "NumSensors" patchers: diff --git a/theodolite-benchmarks/definitions/uc1-flink/uc1-flink-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc1-flink/uc1-flink-benchmark-operator.yaml index b7d33a11d597db3f6371353f8783dc0a7d2252fe..bba91daa2ca67d8dca8a56343d2df06f8bacb62d 100644 --- a/theodolite-benchmarks/definitions/uc1-flink/uc1-flink-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc1-flink/uc1-flink-benchmark-operator.yaml @@ -36,6 +36,39 @@ spec: properties: container: "jobmanager" variableName: "PARALLELISM" + - typeName: TaskSlotsAndPodResources + patchers: + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.numberOfTaskSlots + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: memory + factor: 4 + format: Gi + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.memory.process.size + factor: 4 + suffix: Gb + - type: "EnvVarPatcher" + resource: "jobmanager-deployment.yaml" + properties: + container: "jobmanager" + variableName: "PARALLELISM" loadTypes: - typeName: "NumSensors" patchers: diff --git a/theodolite-benchmarks/definitions/uc2-beam-flink/uc2-beam-flink-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc2-beam-flink/uc2-beam-flink-benchmark-operator.yaml index 39ddaa38df4a1f1f5c3db45afa14b00ee7eb9087..c7e4ec2352a910e3024d1f30dd7397a100cd93b9 100644 --- a/theodolite-benchmarks/definitions/uc2-beam-flink/uc2-beam-flink-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc2-beam-flink/uc2-beam-flink-benchmark-operator.yaml @@ -35,6 +35,39 @@ spec: properties: container: "jobmanager" variableName: "PARALLELISM" + - typeName: TaskSlotsAndPodResources + patchers: + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.numberOfTaskSlots + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: memory + factor: 4 + format: Gi + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.memory.process.size + factor: 4 + suffix: Gb + - type: "EnvVarPatcher" + resource: "jobmanager-deployment.yaml" + properties: + container: "jobmanager" + variableName: "PARALLELISM" loadTypes: - typeName: "NumSensors" patchers: diff --git a/theodolite-benchmarks/definitions/uc2-flink/uc2-flink-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc2-flink/uc2-flink-benchmark-operator.yaml index d1cf9e5200f47a6a3317fe114b31231dbb9c3767..1ceebe6cd5c3ef1e37d44b45f9207666ffa7748d 100644 --- a/theodolite-benchmarks/definitions/uc2-flink/uc2-flink-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc2-flink/uc2-flink-benchmark-operator.yaml @@ -36,6 +36,39 @@ spec: properties: container: "jobmanager" variableName: "PARALLELISM" + - typeName: TaskSlotsAndPodResources + patchers: + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.numberOfTaskSlots + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: memory + factor: 4 + format: Gi + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.memory.process.size + factor: 4 + suffix: Gb + - type: "EnvVarPatcher" + resource: "jobmanager-deployment.yaml" + properties: + container: "jobmanager" + variableName: "PARALLELISM" loadTypes: - typeName: "NumSensors" patchers: diff --git a/theodolite-benchmarks/definitions/uc3-beam-flink/uc3-beam-flink-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc3-beam-flink/uc3-beam-flink-benchmark-operator.yaml index 263cfe3a613baa51099abc54373525076cd1adfe..a99f999021121fea5b6a51b1bf47031134b9a27d 100644 --- a/theodolite-benchmarks/definitions/uc3-beam-flink/uc3-beam-flink-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc3-beam-flink/uc3-beam-flink-benchmark-operator.yaml @@ -35,6 +35,39 @@ spec: properties: container: "jobmanager" variableName: "PARALLELISM" + - typeName: TaskSlotsAndPodResources + patchers: + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.numberOfTaskSlots + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: memory + factor: 4 + format: Gi + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.memory.process.size + factor: 4 + suffix: Gb + - type: "EnvVarPatcher" + resource: "jobmanager-deployment.yaml" + properties: + container: "jobmanager" + variableName: "PARALLELISM" loadTypes: - typeName: "NumSensors" patchers: diff --git a/theodolite-benchmarks/definitions/uc3-flink/uc3-flink-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc3-flink/uc3-flink-benchmark-operator.yaml index ce0bfc5ba193b8fce2a057f50aa0d2eb284afb3f..115dfe530d2869bd0ea00f281a8e9f326cd8fc96 100644 --- a/theodolite-benchmarks/definitions/uc3-flink/uc3-flink-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc3-flink/uc3-flink-benchmark-operator.yaml @@ -36,6 +36,39 @@ spec: properties: container: "jobmanager" variableName: "PARALLELISM" + - typeName: TaskSlotsAndPodResources + patchers: + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.numberOfTaskSlots + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: memory + factor: 4 + format: Gi + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.memory.process.size + factor: 4 + suffix: Gb + - type: "EnvVarPatcher" + resource: "jobmanager-deployment.yaml" + properties: + container: "jobmanager" + variableName: "PARALLELISM" loadTypes: - typeName: "NumSensors" patchers: diff --git a/theodolite-benchmarks/definitions/uc4-beam-flink/uc4-beam-flink-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc4-beam-flink/uc4-beam-flink-benchmark-operator.yaml index 6a9e33b403c626239e2d914f2cd51bf6ab79cc16..4ef153879c23cecf7137445e666ec51eb44ff377 100644 --- a/theodolite-benchmarks/definitions/uc4-beam-flink/uc4-beam-flink-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc4-beam-flink/uc4-beam-flink-benchmark-operator.yaml @@ -35,6 +35,39 @@ spec: properties: container: "jobmanager" variableName: "PARALLELISM" + - typeName: TaskSlotsAndPodResources + patchers: + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.numberOfTaskSlots + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: memory + factor: 4 + format: Gi + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.memory.process.size + factor: 4 + suffix: Gb + - type: "EnvVarPatcher" + resource: "jobmanager-deployment.yaml" + properties: + container: "jobmanager" + variableName: "PARALLELISM" loadTypes: - typeName: "NumNestedGroups" patchers: diff --git a/theodolite-benchmarks/definitions/uc4-flink/uc4-flink-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc4-flink/uc4-flink-benchmark-operator.yaml index b1b563bb415deea9978f9887a581f02b0e086497..ea7491fa691282bed838f48184a988ab8cbcc94b 100644 --- a/theodolite-benchmarks/definitions/uc4-flink/uc4-flink-benchmark-operator.yaml +++ b/theodolite-benchmarks/definitions/uc4-flink/uc4-flink-benchmark-operator.yaml @@ -36,6 +36,39 @@ spec: properties: container: "jobmanager" variableName: "PARALLELISM" + - typeName: TaskSlotsAndPodResources + patchers: + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.numberOfTaskSlots + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: cpu + factor: 1000 + format: m + - type: ResourceLimitPatcher + resource: taskmanager-deployment.yaml + properties: + container: taskmanager + limitedResource: memory + factor: 4 + format: Gi + - type: ConfigMapYamlPatcher + resource: flink-configuration-configmap.yaml + properties: + fileName: flink-conf.yaml + variableName: taskmanager.memory.process.size + factor: 4 + suffix: Gb + - type: "EnvVarPatcher" + resource: "jobmanager-deployment.yaml" + properties: + container: "jobmanager" + variableName: "PARALLELISM" loadTypes: - typeName: "NumNestedGroups" patchers: