Uploaded image for project: 'OpenShift Workloads'
  1. OpenShift Workloads
  2. WRKLDS-1010

inspect: rotated pod logs flag does not respect since and since-time flags

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • openshift-4.16
    • None

      rotated-pod-logs does not interact with since/since-time. This causes inspect (and must-gather) outputs to considerably increase in size, even when users attempt to filter it by using time constraints.

      Suggested solution:

      • parse the date from the log filename and only gather the logs when they are within the provided since or since-time flags

      Acceptance criteria:

      • `oc adm inspect` respects --since or --since-time flags work as expected even when used in conjunction with --rotated-pod-logs

            fmissi Flavian Missi
            fmissi Flavian Missi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: