diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/KubernetesBenchmarkDeployment.kt b/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/KubernetesBenchmarkDeployment.kt index 227934a00011d73b2e1f9482e9114acbdd3a47ac..fdc5f2ad0f69c119c2b4f8ddac9c619bcd5ab44b 100644 --- a/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/KubernetesBenchmarkDeployment.kt +++ b/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/KubernetesBenchmarkDeployment.kt @@ -17,12 +17,12 @@ class KubernetesBenchmarkDeployment( ): BenchmarkDeployment { private val workloadGeneratorStateCleaner = WorkloadGeneratorStateCleaner(this.zookeeperConfig) private val kafkaController = TopicManager(this.kafkaConfig) - private val kubernetesManager = K8sManager(DefaultKubernetesClient().inNamespace("default")) // Maybe per resource type + private val kubernetesManager = K8sManager(DefaultKubernetesClient().inNamespace("theodolite-she")) // Maybe per resource type override fun setup() { this.workloadGeneratorStateCleaner.deleteState() kafkaController.createTopics(this.topics) - resources.forEach { + resources.forEach { kubernetesManager.deploy(it) } } diff --git a/theodolite-quarkus/src/main/resources/yaml/aggregation-deployment.yaml b/theodolite-quarkus/src/main/resources/yaml/aggregation-deployment.yaml index 07732ca1dd1e6b2b06f098dfb10a53d38e8d5cae..3963fa7f13577f7f9f3e98e0782180dfe4406150 100644 --- a/theodolite-quarkus/src/main/resources/yaml/aggregation-deployment.yaml +++ b/theodolite-quarkus/src/main/resources/yaml/aggregation-deployment.yaml @@ -15,7 +15,7 @@ spec: terminationGracePeriodSeconds: 0 containers: - name: uc-application - image: uc-app:latest + image: ghcr.io/cau-se/theodolite-uc1-kstreams-app:latest ports: - containerPort: 5555 name: jmx diff --git a/theodolite-quarkus/src/main/resources/yaml/testBenchmarkType.yaml b/theodolite-quarkus/src/main/resources/yaml/testBenchmarkType.yaml index 766422d5e5a9964096081a9e4018a2fa40e732e0..ee1a808f7bc4815657ded2192c1a46ddfb98c7eb 100644 --- a/theodolite-quarkus/src/main/resources/yaml/testBenchmarkType.yaml +++ b/theodolite-quarkus/src/main/resources/yaml/testBenchmarkType.yaml @@ -18,10 +18,10 @@ loadTypes: container: "workload-generator" variableName: "NUM_SENSORS" kafkaConfig: - bootstrapSever: "my-confluent-cp-kafka:9092" + bootstrapSever: "localhost:31290" topics: - name: "test" partition: "1" replication: "1" zookeeperConfig: - server: "my-confluent-cp-zookeeper:2181" \ No newline at end of file + server: "localhost:31953" \ No newline at end of file diff --git a/theodolite-quarkus/src/main/resources/yaml/testContext.yaml b/theodolite-quarkus/src/main/resources/yaml/testContext.yaml index f3e73ca43ec4ba81b955f51df18294b0901d5f2c..5d3f393205f5546910e73d8d9f8b88cb0d987ab1 100644 --- a/theodolite-quarkus/src/main/resources/yaml/testContext.yaml +++ b/theodolite-quarkus/src/main/resources/yaml/testContext.yaml @@ -3,8 +3,7 @@ benchmark: "benchmarkType" load: loadType: "NumSensors" loadValues: - - 1000 - - 2000 + - 10000 resources: resourceType: "Instances" resourceValues: diff --git a/theodolite-quarkus/src/main/resources/yaml/workloadGenerator.yaml b/theodolite-quarkus/src/main/resources/yaml/workloadGenerator.yaml index 242ce5f2dc0eb9523a530710c5774f440627a8f6..dfd66a738521802325f841a6e16ea8698a06931e 100644 --- a/theodolite-quarkus/src/main/resources/yaml/workloadGenerator.yaml +++ b/theodolite-quarkus/src/main/resources/yaml/workloadGenerator.yaml @@ -15,7 +15,7 @@ spec: terminationGracePeriodSeconds: 0 containers: - name: workload-generator - image: workload-generator:latest + image: ghcr.io/cau-se/theodolite-uc1-workload-generator:theodolite-kotlin-latest env: # Order need to be preserved for run_uc.py - name: NUM_SENSORS