Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-378

Integrate Kogito Operator with Prometheus Operator

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 0.6.0
    • 0.4.0
    • Operator
    • None
    • 2019 Week 41-43 (from Okt 7), 2019 Week 44-46 (from Okt 28)

      Although KOGITO-290 added the required annotations to the pod and service, this approach do not work on OpenShift 3.11/4.x that relies on Prometheus Operator. The discussion about this can be viewed in:
      https://github.com/coreos/prometheus-operator/issues/1547

      The Prometheus Operators maintainers do not agree with the annotations approach. Thus to have our services to be compatible with either a manually provisioned Prometheus in the cluster or managed by the Prometheus Operator we will have to:

      1. Identify if the Prometheus Operator is available in the cluster
      2. Create a ServiceMonitor resource in the namespace being owned by the Kogito Operator

      This way we increase the compatibility with Prometheus and can expose our metrics in any scenario.

      This "known issue" has been documented in our README.

            xiezhang@redhat.com Xieshen Zhang
            rhn-support-zanini Ricardo Zanini Fernandes
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: