-
Task
-
Resolution: Done
-
Normal
-
None
-
None
We can reuse what we have for 2.x here
AC:
- new image is available in quay.io
- it's collecting the same resources as 2.x plus new resources available in 3.0
- it supports new since and since-time params as described below
- the image is included in CSV and working for disconnected OCP
If your team owns any of the custom must-gather images listed in our support docs[1], we need your help!
The workloads team has added support for `{}since` and `{-}-since-time` to `oc adm must-gather`.
The must-gather command now (>=OCP 4.16) exports the environment variables MUST_GATHER_SINCE (a duration string)
and MUST_GATHER_SINCE_TIME (an RFC3339 compatible timestamp string) to must-gather pods.
The default collection plugin (openshift/must-gather[2]) was updated[3] to make use of the new env vars when collecting
pod logs (including rotated logs) and certain types of node logs.
We kindly request that must-gather image owners update their custom must-gather scripts to honour the new env vars.
The must-gather enhancement proposal[4] has been updated to cover the additions.
We also kindly ask that you update the tracking sheet[5] once you add support for the new env vars.
Please let us know if you have any questions.
Thank you!
[1] https://docs.openshift.com/container-platform/4.14/support/gathering-cluster-data.html#gathering-data-specific-features_gathering-cluster-data
[2] https://github.com/openshift/must-gather
[3] https://github.com/openshift/must-gather/pull/400
[4] https://github.com/openshift/enhancements/blob/master/enhancements/oc/must-gather.md#must-gather-images
[5] https://docs.google.com/spreadsheets/d/1u_R2lhkgL0GHcI2EfFYtSZ0XcUZVbeZucJw9idfZ4wo/edit#gid=0