Open tonyskapunk opened 1 year ago
Probably the more tricky thing will be to decide which directory use when the resources are in both (like pods in namespaces collected by both must-gather images, cluster-scoped-resources, etc..).
In some cases, not sure how it happens and if can be reproducible, a must-gather directory contains two sub-directories and one of them is called inspect
. In those cases, none of the sub-directories contains all the info, and it's needed to change from one to the other.
A functionality like this one will be really helpful in those cases, but as already commented above, not sure how to decide from which sub-directory the info should be provided if both contains it (and there could be even few differences between them).
It would be nice that omc supported using (reading from) multiple directories.
must-gather
can use multiple images[1] to gather data about more than one feature by running a single command.When multiple images are used, a directory is created for each image, for example:
Currently when a single image is used, a single directory is created and
omc
can use the top level directory without problems:But when
must-gather
used multiple images,omc
needs to specify the directory to use and switching between directories is very inconvenient, mostly when there are many directoriesIt would be awesome if
omc
could use mutliple directories to look for the requested data.[1] https://docs.openshift.com/container-platform/4.13/support/gathering-cluster-data.html#gathering-data-specific-features_gathering-cluster-data