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

Change uc-application to uc1-samza in uc1-beam-samza-benchmark

parent 87706903
No related branches found
No related tags found
1 merge request!218Add Beam Kubernetes Benchmark Definitions
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: titan-ccp-aggregation name: uc1-beam-samza
spec: spec:
selector: selector:
matchLabels: matchLabels:
app: titan-ccp-aggregation app: uc1-beam-samza
replicas: 1 replicas: 1
template: template:
metadata: metadata:
labels: labels:
app: titan-ccp-aggregation app: uc1-beam-samza
spec: spec:
terminationGracePeriodSeconds: 0 terminationGracePeriodSeconds: 0
containers: containers:
- name: uc-application - name: uc1-beam-samza
image: uc1-beam-samza:latest image: uc1-beam-samza:latest
imagePullPolicy: Never # for local testing imagePullPolicy: Never # for local testing
ports: ports:
...@@ -22,41 +22,43 @@ spec: ...@@ -22,41 +22,43 @@ spec:
name: jmx name: jmx
env: env:
- name: SAMZA_JOB_COORDINATOR_ZK_CONNECT - name: SAMZA_JOB_COORDINATOR_ZK_CONNECT
value: "HelloThere" value: "theodolite-cp-zookeeper:2181"
- name: SAMZA_SYSTEMS_KAFKA_CONSUMER_ZOOKEEPER_CONNECT - name: SAMZA_SYSTEMS_KAFKA_PRODUCER_BOOTSTRAP_SERVERS
value: "HelloThere" value: "theodolite-cp-kafka:9092"
- name: SAMZA_SYSTEMS_KAFKA_CONSUMER_BOOTSTRAP_SERVERS
value: "theodolite-cp-kafka:9092"
- name: MAX_SOURCE_PARALLELISM - name: MAX_SOURCE_PARALLELISM
value: "1024" value: "1024"
- name: KAFKA_BOOTSTRAP_SERVERS - name: KAFKA_BOOTSTRAP_SERVERS
value: "theodolite-cp-kafka:9092" value: "theodolite-cp-kafka:9092"
- name: SCHEMA_REGISTRY_URL - name: SCHEMA_REGISTRY_URL
value: "http://theodolite-cp-schema-registry:8081" value: "http://theodolite-cp-schema-registry:8081"
- name: JAVA_OPTS # - 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: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=5555"
- name: COMMIT_INTERVAL_MS # Set as default for the applications - name: COMMIT_INTERVAL_MS # Set as default for the applications
value: "100" value: "100"
resources: resources:
limits: limits:
memory: 4Gi memory: 4Gi
cpu: 1000m cpu: 1000m
- name: prometheus-jmx-exporter # - name: prometheus-jmx-exporter
image: "solsson/kafka-prometheus-jmx-exporter@sha256:6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143" # image: "solsson/kafka-prometheus-jmx-exporter@sha256:6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143"
command: # command:
- java # - java
- -XX:+UnlockExperimentalVMOptions # - -XX:+UnlockExperimentalVMOptions
- -XX:+UseCGroupMemoryLimitForHeap # - -XX:+UseCGroupMemoryLimitForHeap
- -XX:MaxRAMFraction=1 # - -XX:MaxRAMFraction=1
- -XshowSettings:vm # - -XshowSettings:vm
- -jar # - -jar
- jmx_prometheus_httpserver.jar # - jmx_prometheus_httpserver.jar
- "5556" # - "5556"
- /etc/jmx-aggregation/jmx-kafka-prometheus.yml # - /etc/jmx-aggregation/jmx-kafka-prometheus.yml
ports: # ports:
- containerPort: 5556 # - containerPort: 5556
volumeMounts: # volumeMounts:
- name: jmx-config # - name: jmx-config
mountPath: /etc/jmx-aggregation # mountPath: /etc/jmx-aggregation
volumes: # volumes:
- name: jmx-config # - name: jmx-config
configMap: # configMap:
name: uc1-jmx-configmap # name: uc1-jmx-configmap
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment