XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.9 GA
    • None
    • 3scale Operator
    • None

      Context:

      Giving users the ability to show their products consumption (number of MW products/components running in pods on OpenShift) .

      OpenShift has added a Metering operator that collects pod statistics around CPU consumption, uptime, memory, etc. It also collects pod label metadata that can be used to identify what is running in the pod.

      Statement of work:

      The idea is to label all our pods so that a customer can have pre-canned reports from the metering operator generated and see how much usage is happening on their cluster.

      The ask is that each pod gets these labels:
      com.redhat.product-name="Integration"
      com.redhat.component-name="<name>"
      com.redhat.product-version="<product-version>"
      com.redhat.component-version="<component-version>"
      com.redhat.component-type="application" or
      com.redhat.component-type="infrastructure"

      The operator itself should have component-type="infrastructure" and the operands component-type="application"

      *Dev notes:*

      The productized version of the operator, which currently uses sha digest tags, cannot use those tags as labels, and therefore the metering label corresponding to

      com.redhat.component-version 

      will be left blank.

      The other labels should be filled as expected. As an example, the apicast pod:

      com.redhat.product-name: 3scale
      com.redhat.component-type: application
      com.redhat.product-version: 2.9
      com.redhat.component-version: ""
      com.redhat.component-name: system-app 

            Unassigned Unassigned
            amasferr Andreu Masferrer
            Jakub Urban Jakub Urban
            Andreu Masferrer Andreu Masferrer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: