OpenShift - Inspect a project using the oc adm inspect command

by
Jeremy Canfield |
Updated: July 06 2022
| OpenShift articles
If you are not familiar with the oc command, refer to OpenShift - Getting Started with the oc command.
The oc adm inspect namespace/<your project> command can be used to create a directory that contains files and sub-directories that contain information about a project / namespace. This is typically used when troubleshooting some issue. In this example, a directory named inspect.local.678107750842914274 would have been created in the present working directory, and the inspect.local.678107750842914274 directory would contains files and sub-directories with information about the project / namespace named "foo".
~]$ oc adm inspect namespace/foo
Gathering data for ns/foo...
Wrote inspect data to inspect.local.678107750842914274.
Did you find this article helpful?
If so, consider buying me a coffee over at