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

Refactor input selection API for namespaces and containers

XMLWordPrintable

    • 2
    • False
    • None
    • False
    • NEW
    • OBSDA-228 - Log filtering and collecting
    • NEW
    • Release Note Not Required
    • Log Collection - Sprint 250, Log Collection - Sprint 251

      Summary

      Refactor the input selection API of namespaces and containers to make the intention of what is included or excluded more obvious to users of the API

      Acceptance Criteria

      • Verify the API is updated to:
        application:
          selector:           #labelselector
          namespaces:         []string
          includes:
           - namespace:       #glob
             container:       #glob
          excludes:
           - namespace        #glob
             container        #glob
        
      • Verify when an include/exclude entry only defines "namespace" that it applies to all containers (e.g. *)
      • Verify when an include/exclude entry only defines "container" that it applies to all namespaces (e.g. *)
      • Verify multiple includes combinations results in logs included from each of the matches
      • Verify multiple excludes combinations results in logs excluded from each of the matches
      • Verify only includes that are not in the excludes list are matched.  (i.e. excludes take precedence and are run first)
      • Verify the CEE documentation is updated to reflect the changes
      • Verify the enhancement documentation is updated to reflect the changes
      • Verify "namespaces" field as marked as deprecated
      • Verify the entries of the "namespaces" field are added to the list of "includes" in the generated configuration
      • Verify related/linked bugs are resolved

       

       

              cahartma@redhat.com Casey Hartman
              jcantril@redhat.com Jeffrey Cantrill
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: