OpenShift – See the Contents of Your Deployed Jar Inside a Running Pod

openshift

You can follow the steps below to see the contents of your deployed jar archive inside a running pod in your OpenShift cluster:

1- Login to master

2- Browse to namespace/project

3- oc get pods

4- oc rsh {pod_name}

5- cd to “deployments” folder

6- “ls” to see the contents. See your deployed jar achieve

7- list the contents of your archive

8- If you are looking for a specific file

 

Hope this helps.

Good Luck,

Serdar