Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-2388

Preserve k8s Common Labels

    XMLWordPrintable

Details

    • Preserve K8s Common Labels
    • False
    • False
    • OBSDA-150Do not flatten pod labels that are in an Allow List
    • Green
    • NEW
    • To Do
    • OBSDA-150 - Do not flatten pod labels that are in an Allow List
    • Impediment
    • QE Needed, Docs Needed, TE Needed, Customer Facing
    • VERIFIED
    • 100
    • 100% 100%
    • Feature Freeze

    Description

      What is the problem that your customer is facing?

      As an operator we would like to enable our customers to filter the operator logs based on some of the pod labels.

      These are the labels we would like to be parsed as separate fields and not flattened:

      • app_kubernetes_io/component
      • app_kubernetes_io/managed-by
      • app_kubernetes_io/part-of
      • app_kubernetes_io/version

        What is the business impact, if any, if this request will not be made

      Without this feature it is very hard to effectively filter the operators logs and its sub components.

      What are your expectations for this feature

      This is an important feature for operators and we would like to have it as soon as possible. 
      We had some internal discussions and it seems that adding an allow list with the specific labels would be the best and most secure way of implementing this.

      Have you done this before and/or outside of support and if yes, how?

      (Optional)
      <<Please add any information on how you have done that so far or any ideas
      you'd like to share with us.>>

      Acceptance Criteria

      • Verify all labels are included in "kubernetes.labels" for non-Elasticsearch output types
      • Verify only kubernetes common labels are included in "kubernetes.labels" for Elasticsearch output types
      • Verify when using fluentd "kubernetes.flatten_labels" with all labels exists for all output types
      • Verify labels are presented as-is with no de dotting

      Attachments

        Issue Links

          Activity

            People

              jcantril@redhat.com Jeffrey Cantrill
              rhn-engineering-aconway Alan Conway
              Giriyamma K R Giriyamma K R
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: