Red Hat Bugzilla – Bug 1269669
[supportability] oc describe should show ports information in the same way the UI shows the ports for a pod.
Last modified: 2017-03-08 13:26 EST
Description of problem:
When describing a pod the port information is not shown.
Version-Release number of selected component (if applicable):
$ oc version
How reproducible: 100%
Steps to Reproduce:
1. $ oc describe pod hello-openshift
Replication Controllers: <none>
Started: Wed, 07 Oct 2015 13:16:15 -0400
Restart Count: 0
The information shown should match that seen by the console.
Example (text from console):
Node: node01-b66c.oslab.opentlc.com (192.168.0.201)
IP on node: 10.1.1.2
Restart policy: Always
Ports: 8080 (TCP) ⟶ 36061
Fixed in master, the pod describer now displays the port for each container.
verified on oc v18.104.22.168
Ports are described in the same way as web console.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.