Skip to content
Snippets Groups Projects
Select Git revision
  • f72d55bc65a83aa9cfd41a28e95315d9bee76968
  • main default protected
  • v0.10
  • rework-examples
  • otel-demo-dynatrace-example
  • support-empty-query-response
  • java-operator-sdk
  • rework-state-handling
  • quarkus-36
  • bump-kotlinlogging-to-5.0.2
  • use-internal-registry protected
  • v0.9 protected
  • kafka-nodeport-config-windows
  • v0.8 protected
  • test-k3d protected
  • simpleuc4 protected
  • reduce-code-duplication
  • test-coverage
  • code-cleanup
  • cleanup-commit-interval protected
  • delete-action-for-other-namespace
  • v0.10.0 protected
  • v0.9.0 protected
  • v0.8.6 protected
  • v0.8.5 protected
  • v0.8.4 protected
  • v0.8.3 protected
  • v0.8.2 protected
  • v0.8.1 protected
  • v0.8.0 protected
  • v0.7.0 protected
  • v0.5.2 protected
  • v0.6.4 protected
  • v0.6.3 protected
  • v0.6.2 protected
  • v0.6.1 protected
  • v0.6.0 protected
  • v0.5.1 protected
  • v0.5.0 protected
  • v0.4.0 protected
  • v0.3.0 protected
41 results

aggregation-deployment.yaml

Blame
  • aggregation-deployment.yaml 1.57 KiB
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: titan-ccp-aggregation
    spec:
      selector:
        matchLabels:
          app: titan-ccp-aggregation
      replicas: 1
      template:
        metadata:
          labels:
            app: titan-ccp-aggregation
        spec:
          terminationGracePeriodSeconds: 0
          containers:
          - name: uc-application
            image: uc-app:latest
            ports:
            - containerPort: 5555
              name: jmx
            env:
            - name: KAFKA_BOOTSTRAP_SERVERS
              value: "my-confluent-cp-kafka:9092"
            - name: COMMIT_INTERVAL_MS
              value: 100
            - 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"
            resources:
              limits:
                memory: 4Gi
                cpu: 1000m
          - 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