[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: List all hostPorts:



Pod ports are informational only (they have no effect other than on
tooling).  Service ports describe what is load balanced and announced
via DNS.  Router port describes what is actually linked to the edge.
There is no way today to view "open ports" per pod without going into
the pod.

On Tue, Oct 13, 2015 at 10:04 AM,  <MA2412 gmx de> wrote:
> Hello everybody!
> I was looking for a way entering the routers haproxy "statuspage" on port
> 1936 and found out the port is accessable over the public ip address of the
> server, i only had to create a iptables rule for remote access. I was
> surprised that the pod was able to bind to the public IP but after reading
> the docs it is quite clear.
> But what i am now looking for is a command which shows me all Ports bound by
> a Process in a pod. I know i can check the deploymentconfigs, but this is
> cumbersome for me.
> Why does for example "oc get services router"  (router is the name of my
> router pod) show only port "80/TCP" and not "443/TCP" and "1936/TCP" too?
>
>
> _______________________________________________
> users mailing list
> users lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]