Skip to content
Snippets Groups Projects
uc4-hazelcastjet-benchmark-operator.yaml 2.05 KiB
Newer Older
apiVersion: theodolite.rocks/v1beta1
MaxEmerold's avatar
MaxEmerold committed
kind: benchmark
metadata:
  name: uc4-hazelcastjet
  labels:
    suite: theodolite-stream-processing
    benchmark: uc4
    sut: hazelcastjet
MaxEmerold's avatar
MaxEmerold committed
spec:
  sut:
    resources:
      - configMap:
          name: "benchmark-resources-uc4-hazelcastjet"
          files:
            - "uc4-hazelcastjet-deployment.yaml"
            - "uc4-hazelcastjet-service.yaml"
            - "uc4-jmx-configmap.yaml"
            - "uc4-service-monitor.yaml"
  loadGenerator:
    resources:
      - configMap:
          name: "benchmark-resources-uc4-load-generator"
          files:
            - "uc4-load-generator-deployment.yaml"
            - "uc4-load-generator-service.yaml"
MaxEmerold's avatar
MaxEmerold committed
  resourceTypes:
    - typeName: "Instances"
      patchers:
        - type: "ReplicaPatcher"
          resource: "uc4-hazelcastjet-deployment.yaml"
MaxEmerold's avatar
MaxEmerold committed
  loadTypes:
    - typeName: "NumNestedGroups"
      patchers:
        - type: "EnvVarPatcher"
          resource: "uc4-load-generator-deployment.yaml"
MaxEmerold's avatar
MaxEmerold committed
          properties:
            container: "workload-generator"
            variableName: "NUM_SENSORS"
        - type: NumNestedGroupsLoadGeneratorReplicaPatcher
          resource: "uc4-load-generator-deployment.yaml"
MaxEmerold's avatar
MaxEmerold committed
          properties:
            loadGenMaxRecords: "150000"
            numSensors: "4.0"
  slos:
    - name: "lag trend"
      sloType: "lag trend"
      prometheusUrl: "http://prometheus-operated:9090"
      offset: 0
      properties:
        consumerGroup: theodolite-uc4-application
        threshold: 2000
        externalSloUrl: "http://localhost:80/evaluate-slope"
        warmup: 60 # in seconds
MaxEmerold's avatar
MaxEmerold committed
  kafkaConfig:
    bootstrapServer: "theodolite-kafka-kafka-bootstrap:9092"
MaxEmerold's avatar
MaxEmerold committed
    topics:
      - name: "input"
        numPartitions: 40
        replicationFactor: 1
      - name: "output"
        numPartitions: 40
        replicationFactor: 1
      - name: "configuration"
        numPartitions: 40
        replicationFactor: 1
      - name: "aggregation-feedback"
        numPartitions: 40
        replicationFactor: 1
      - name: "theodolite-.*"
        removeOnly: True