Skip to content
Snippets Groups Projects
Commit 123b3c12 authored by Lorenz Boguhn's avatar Lorenz Boguhn
Browse files

Update hazelcastjet benchmark resourcess

parent 2d3c0497
Branches
No related tags found
1 merge request!208Add benchmark implementations for Hazelcast Jet
Pipeline #6972 passed
Showing
with 100 additions and 168 deletions
......@@ -4,6 +4,12 @@ kubectl create configmap benchmark-resources-uc2-flink --from-file uc2-flink/res
kubectl create configmap benchmark-resources-uc3-flink --from-file uc3-flink/resources
kubectl create configmap benchmark-resources-uc4-flink --from-file uc4-flink/resources
kubectl create configmap benchmark-resources-uc1-hazelcastjet --from-file uc1-hazelcastjet/resources
kubectl create configmap benchmark-resources-uc2-hazelcastjet --from-file uc2-hazelcastjet/resources
kubectl create configmap benchmark-resources-uc3-hazelcastjet --from-file uc3-hazelcastjet/resources
kubectl create configmap benchmark-resources-uc4-hazelcastjet --from-file uc4-hazelcastjet/resources
# Kafka Streams
kubectl create configmap benchmark-resources-uc1-kstreams --from-file uc1-kstreams/resources
kubectl create configmap benchmark-resources-uc2-kstreams --from-file uc2-kstreams/resources
......
......@@ -6,7 +6,7 @@ spec:
selector:
matchLabels:
app: titan-ccp-aggregation
replicas: 2
replicas: 1
template:
metadata:
labels:
......@@ -17,16 +17,11 @@ spec:
- name: uc-application
image: uc1-hazelcastjet
imagePullPolicy: "Never"
ports:
- containerPort: 5555
name: jmx
env:
- name: KAFKA_BOOTSTRAP_SERVERS
value: "my-confluent-cp-kafka:9092"
value: "theodolite-kafka-kafka-bootstrap:9092"
- name: SCHEMA_REGISTRY_URL
value: "http://my-confluent-cp-schema-registry:8081"
- name: JAVA_OPTS
value: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=5555"
value: "http://theodolite-cp-schema-registry:8081"
- name: COMMIT_INTERVAL_MS # Set as default for the applications
value: "100"
- name: KUBERNETES_NAMESPACE
......@@ -39,24 +34,3 @@ spec:
limits:
memory: 4Gi
cpu: 1000m
\ No newline at end of file
#- name: prometheus-jmx-exporter
# image: "solsson/kafka-prometheus-jmx-exporter@sha256:6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143"
# command:
# - java
# - -XX:+UnlockExperimentalVMOptions
# - -XX:+UseCGroupMemoryLimitForHeap
# - -XX:MaxRAMFraction=1
# - -XshowSettings:vm
# - -jar
# - jmx_prometheus_httpserver.jar
# - "5556"
# - /etc/jmx-aggregation/jmx-kafka-prometheus.yml
# ports:
# - containerPort: 5556
# volumeMounts:
# - name: jmx-config
# mountPath: /etc/jmx-aggregation
volumes:
- name: jmx-config
configMap:
name: aggregation-jmx-configmap
\ No newline at end of file
......@@ -3,33 +3,39 @@ kind: benchmark
metadata:
name: uc1-hazelcastjet
spec:
appResource:
- "uc1-hazelcastjet/uc1-hazelcastjet-deployment.yaml"
- "uc1-hazelcastjet/uc1-hazelcastjet-service.yaml"
#- "uc1-hazelcastjet/uc1-jmx-configmap.yaml"
#- "uc1-hazelcastjet/uc1-service-monitor.yaml"
loadGenResource:
- "uc1-kstreams/uc1-load-generator-deployment.yaml"
- "uc1-kstreams/uc1-load-generator-service.yaml"
sut:
resources:
- configMap:
name: "benchmark-resources-uc1-hazelcastjet"
files:
- "uc1-hazelcastjet-deployment.yaml"
- "uc1-hazelcastjet-service.yaml"
loadGenerator:
resources:
- configMap:
name: "benchmark-resources-uc1-load-generator"
files:
- "uc1-load-generator-deployment.yaml"
- "uc1-load-generator-service.yaml"
resourceTypes:
- typeName: "Instances"
patchers:
- type: "ReplicaPatcher"
resource: "uc1-hazelcsatjet/uc1-hazelcastjet-deployment.yaml"
resource: "uc1-hazelcastjet-deployment.yaml"
loadTypes:
- typeName: "NumSensors"
patchers:
- type: "EnvVarPatcher"
resource: "uc1-kstreams/uc1-load-generator-deployment.yaml"
resource: "uc1-load-generator-deployment.yaml"
properties:
container: "workload-generator"
variableName: "NUM_SENSORS"
- type: NumSensorsLoadGeneratorReplicaPatcher
resource: "uc1-kstreams/uc1-load-generator-deployment.yaml"
resource: "uc1-load-generator-deployment.yaml"
properties:
loadGenMaxRecords: "150000"
kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092"
bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092"
topics:
- name: "input"
numPartitions: 40
......
......@@ -6,7 +6,7 @@ spec:
selector:
matchLabels:
app: titan-ccp-aggregation
replicas: 2
replicas: 1
template:
metadata:
labels:
......@@ -17,16 +17,11 @@ spec:
- name: uc-application
image: uc2-hazelcastjet
imagePullPolicy: "Never"
ports:
- containerPort: 5555
name: jmx
env:
- name: KAFKA_BOOTSTRAP_SERVERS
value: "my-confluent-cp-kafka:9092"
value: "theodolite-kafka-kafka-bootstrap:9092"
- name: SCHEMA_REGISTRY_URL
value: "http://my-confluent-cp-schema-registry:8081"
- name: JAVA_OPTS
value: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=5555"
value: "http://theodolite-cp-schema-registry:8081"
- name: COMMIT_INTERVAL_MS # Set as default for the applications
value: "100"
- name: DOWNSAMPLE_INTERVAL
......@@ -43,24 +38,3 @@ spec:
limits:
memory: 4Gi
cpu: 1000m
\ No newline at end of file
#- name: prometheus-jmx-exporter
# image: "solsson/kafka-prometheus-jmx-exporter@sha256:6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143"
# command:
# - java
# - -XX:+UnlockExperimentalVMOptions
# - -XX:+UseCGroupMemoryLimitForHeap
# - -XX:MaxRAMFraction=1
# - -XshowSettings:vm
# - -jar
# - jmx_prometheus_httpserver.jar
# - "5556"
# - /etc/jmx-aggregation/jmx-kafka-prometheus.yml
# ports:
# - containerPort: 5556
# volumeMounts:
# - name: jmx-config
# mountPath: /etc/jmx-aggregation
volumes:
- name: jmx-config
configMap:
name: aggregation-jmx-configmap
\ No newline at end of file
......@@ -3,33 +3,39 @@ kind: benchmark
metadata:
name: uc2-hazelcastjet
spec:
appResource:
- "uc2-hazelcastjet/uc2-hazelcastjet-deployment.yaml"
- "uc2-khazelcastjet/uc2-hazelcastjet-service.yaml"
#- "uc2-hazelcastjet/uc2-jmx-configmap.yaml"
#- "uc2-hazelcastjet/uc2-service-monitor.yaml"
loadGenResource:
- "uc2-kstreams/uc2-load-generator-deployment.yaml"
- "uc2-kstreams/uc2-load-generator-service.yaml"
sut:
resources:
- configMap:
name: "benchmark-resources-uc2-hazelcastjet"
files:
- "uc2-hazelcastjet-deployment.yaml"
- "uc2-hazelcastjet-service.yaml"
loadGenerator:
resources:
- configMap:
name: "benchmark-resources-uc2-load-generator"
files:
- "uc2-load-generator-deployment.yaml"
- "uc2-load-generator-service.yaml"
resourceTypes:
- typeName: "Instances"
patchers:
- type: "ReplicaPatcher"
resource: "uc2-hazelcastjet/uc2-hazelcastjet-deployment.yaml"
resource: "uc2-hazelcastjet-deployment.yaml"
loadTypes:
- typeName: "NumSensors"
patchers:
- type: "EnvVarPatcher"
resource: "uc2-kstreams/uc2-load-generator-deployment.yaml"
resource: "uc2-load-generator-deployment.yaml"
properties:
container: "workload-generator"
variableName: "NUM_SENSORS"
- type: NumSensorsLoadGeneratorReplicaPatcher
resource: "uc2-kstreams/uc2-load-generator-deployment.yaml"
resource: "uc2-load-generator-deployment.yaml"
properties:
loadGenMaxRecords: "150000"
kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092"
bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092"
topics:
- name: "input"
numPartitions: 40
......@@ -37,3 +43,5 @@ spec:
- name: "output"
numPartitions: 40
replicationFactor: 1
- name: "theodolite-.*"
removeOnly: True
......@@ -6,7 +6,7 @@ spec:
selector:
matchLabels:
app: titan-ccp-aggregation
replicas: 2
replicas: 1
template:
metadata:
labels:
......@@ -17,16 +17,11 @@ spec:
- name: uc-application
image: uc3-hazelcastjet
imagePullPolicy: "Never"
ports:
- containerPort: 5555
name: jmx
env:
- name: KAFKA_BOOTSTRAP_SERVERS
value: "my-confluent-cp-kafka:9092"
value: "theodolite-kafka-kafka-bootstrap:9092"
- name: SCHEMA_REGISTRY_URL
value: "http://my-confluent-cp-schema-registry:8081"
- name: JAVA_OPTS
value: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=5555"
value: "http://theodolite-cp-schema-registry:8081"
- name: COMMIT_INTERVAL_MS # Set as default for the applications
value: "100"
- name: WINDOW_SIZE_IN_SECONDS
......@@ -45,24 +40,3 @@ spec:
limits:
memory: 4Gi
cpu: 1000m
\ No newline at end of file
#- name: prometheus-jmx-exporter
# image: "solsson/kafka-prometheus-jmx-exporter@sha256:6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143"
# command:
# - java
# - -XX:+UnlockExperimentalVMOptions
# - -XX:+UseCGroupMemoryLimitForHeap
# - -XX:MaxRAMFraction=1
# - -XshowSettings:vm
# - -jar
# - jmx_prometheus_httpserver.jar
# - "5556"
# - /etc/jmx-aggregation/jmx-kafka-prometheus.yml
# ports:
# - containerPort: 5556
# volumeMounts:
# - name: jmx-config
# mountPath: /etc/jmx-aggregation
volumes:
- name: jmx-config
configMap:
name: aggregation-jmx-configmap
\ No newline at end of file
......@@ -3,33 +3,39 @@ kind: benchmark
metadata:
name: uc3-hazelcastjet
spec:
appResource:
- "uc3-hazelcastjet/uc3-hazelcastjet-deployment.yaml"
- "uc3-hazelcastjet/uc3-hazelcastjet-service.yaml"
#- "uc3-hazelcastjet/uc3-jmx-configmap.yaml"
#- "uc3-hazelcastjet/uc3-service-monitor.yaml"
loadGenResource:
- "uc3-kstreams/uc3-load-generator-deployment.yaml"
- "uc3-kstreams/uc3-load-generator-service.yaml"
sut:
resources:
- configMap:
name: "benchmark-resources-uc3-hazelcastjet"
files:
- "uc3-hazelcastjet-deployment.yaml"
- "uc3-hazelcastjet-service.yaml"
loadGenerator:
resources:
- configMap:
name: "benchmark-resources-uc3-load-generator"
files:
- "uc3-load-generator-deployment.yaml"
- "uc3-load-generator-service.yaml"
resourceTypes:
- typeName: "Instances"
patchers:
- type: "ReplicaPatcher"
resource: "uc3-hazelcastjet/uc3-hazelcastjet-deployment.yaml"
resource: "uc3-hazelcastjet-deployment.yaml"
loadTypes:
- typeName: "NumSensors"
patchers:
- type: "EnvVarPatcher"
resource: "uc3-kstreams/uc3-load-generator-deployment.yaml"
resource: "uc3-load-generator-deployment.yaml"
properties:
container: "workload-generator"
variableName: "NUM_SENSORS"
- type: NumSensorsLoadGeneratorReplicaPatcher
resource: "uc3-kstreams/uc3-load-generator-deployment.yaml"
resource: "uc3-load-generator-deployment.yaml"
properties:
loadGenMaxRecords: "150000"
kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092"
bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092"
topics:
- name: "input"
numPartitions: 40
......@@ -37,3 +43,5 @@ spec:
- name: "output"
numPartitions: 40
replicationFactor: 1
- name: "theodolite-.*"
removeOnly: True
......@@ -6,7 +6,7 @@ spec:
selector:
matchLabels:
app: titan-ccp-aggregation
replicas: 2
replicas: 1
template:
metadata:
labels:
......@@ -17,16 +17,11 @@ spec:
- name: uc-application
image: uc4-hazelcastjet
imagePullPolicy: "Never"
ports:
- containerPort: 5555
name: jmx
env:
- name: KAFKA_BOOTSTRAP_SERVERS
value: "my-confluent-cp-kafka:9092"
value: "theodolite-kafka-kafka-bootstrap:9092"
- name: SCHEMA_REGISTRY_URL
value: "http://my-confluent-cp-schema-registry:8081"
- name: JAVA_OPTS
value: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=5555"
value: "http://theodolite-cp-schema-registry:8081"
- name: COMMIT_INTERVAL_MS # Set as default for the applications
value: "100"
- name: WINDOW_SIZE
......@@ -43,24 +38,3 @@ spec:
limits:
memory: 4Gi
cpu: 1000m
\ No newline at end of file
#- name: prometheus-jmx-exporter
# image: "solsson/kafka-prometheus-jmx-exporter@sha256:6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143"
# command:
# - java
# - -XX:+UnlockExperimentalVMOptions
# - -XX:+UseCGroupMemoryLimitForHeap
# - -XX:MaxRAMFraction=1
# - -XshowSettings:vm
# - -jar
# - jmx_prometheus_httpserver.jar
# - "5556"
# - /etc/jmx-aggregation/jmx-kafka-prometheus.yml
# ports:
# - containerPort: 5556
# volumeMounts:
# - name: jmx-config
# mountPath: /etc/jmx-aggregation
volumes:
- name: jmx-config
configMap:
name: aggregation-jmx-configmap
\ No newline at end of file
......@@ -3,34 +3,40 @@ kind: benchmark
metadata:
name: uc4-hazelcastjet
spec:
appResource:
- "uc4-hazelcastjet/uc4-hazelcastjet-deployment.yaml"
- "uc4-hazelcastjet/uc4-hazelcastjet-service.yaml"
#- "uc4-hazelcastjet/uc4-jmx-configmap.yaml"
#- "uc4-hazelcastjet/uc4-service-monitor.yaml"
loadGenResource:
- "uc4-kstreams/uc4-load-generator-deployment.yaml"
- "uc4-kstreams/uc4-load-generator-service.yaml"
sut:
resources:
- configMap:
name: "benchmark-resources-uc4-hazelcastjet"
files:
- "uc4-hazelcastjet-deployment.yaml"
- "uc4-hazelcastjet-service.yaml"
loadGenerator:
resources:
- configMap:
name: "benchmark-resources-uc4-load-generator"
files:
- "uc4-load-generator-deployment.yaml"
- "uc4-load-generator-service.yaml"
resourceTypes:
- typeName: "Instances"
patchers:
- type: "ReplicaPatcher"
resource: "uc4-hazelcastjet/uc4-hazelcastjet-deployment.yaml"
resource: "uc4-hazelcastjet-deployment.yaml"
loadTypes:
- typeName: "NumNestedGroups"
patchers:
- type: "EnvVarPatcher"
resource: "uc4-kstreams/uc4-load-generator-deployment.yaml"
resource: "uc4-load-generator-deployment.yaml"
properties:
container: "workload-generator"
variableName: "NUM_SENSORS"
- type: NumNestedGroupsLoadGeneratorReplicaPatcher
resource: "uc4-kstreams/uc4-load-generator-deployment.yaml"
resource: "uc4-load-generator-deployment.yaml"
properties:
loadGenMaxRecords: "150000"
numSensors: "4.0"
kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092"
bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092"
topics:
- name: "input"
numPartitions: 40
......@@ -44,3 +50,5 @@ spec:
- name: "aggregation-feedback"
numPartitions: 40
replicationFactor: 1
- name: "theodolite-.*"
removeOnly: True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment