Must-gather explorer
Explore the collected must-gather data
Prerequisite
Install uv
Installation
uv tool install must-gather-explorer
After successful installation, these CLI tools will be available:
- must-gather-explorer
- must-gather-explorer-update-aliases
How to use
- Run the command:
To run with debug logs pass -v/--verbose flag.
must-gather-explorer --path=<path-to-must-gather-folder>
Once you executed the command, you will enter the must-gather-explorer shell Enter the command:, where you can prompt these commands:
- Get the resources:
get <resource_kind:mandatory> <resource_name_starts_with:optional> -n <namespace_name:optional>
- Example:
get Node # To get all Nodes
get PersistentVolumeClaim hpp # To get all PVCs when name starts from 'hpp'
get pvc hpp -n openshift-storage # To get all PVCs in 'openshift-storage' namespace when name starts from 'hpp'
- To print the resource YAML, add
-oyamlto thegetcommand, for example:
get pvc hpp -oyaml # To print yamls of all PVCs when name starts from 'hpp'
get pvc hpp -n openshift-storage -oyaml # To print yamls of all PVCs in 'openshift-storage' namespace when name starts from 'hpp'
- To print specific YAML fields, add
-f .<key>.<key>.<key>...after-oyaml:
get node <node-name> -oyaml -f .status.nodeInfo
get pvc <pvc-name-start-with> -oyaml -f .spec.storageClassName # To print .spec.storageClassName of all PVCs when name starts from <pvc-name-start-with>
get pvc <pvc-name-start-with> -n <namespace> -oyaml -f .spec.accessModes # To print .spec.accessModes of all PVCs in 'namespace' when name starts from <pvc-name-start-with>
- Help:
help
help get
- Exit:
exit
Update cluster resources aliases
- Need to be logged-in to the OpenShift cluster or have exported KUBECONFIG
- Run the command:
must-gather-explorer-update-aliases
Metadata
Release files for must-gather-explorer 0.1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| must_gather_explorer-0.1.11.tar.gz | 62.9 kB | Details |
Release files / must_gather_explorer-0.1.11.tar.gz
| Download URL | must_gather_explorer-0.1.11.tar.gz |
|---|---|
| Size | 62.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0847bb66485102e4f30a8403ca4cbfb6cef60dea975c22cd6fbd6123ba4c344d
|
|
BLAKE2b-256 checksum How to use checksums |
933acca92b89301ab9822859566f3f020ae2e2ff6092c5315bf07cf5fc785f79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|