After you have installed your fancy openshift install and that it kickedÂ the haproxy router automatically after install you may want to see the stats of the router.
The HAproxy stats are exposedÂ on the port 1936 where the router is located (usually on the master node) so first you need a way to access it. You can open it via your firewall (not ideal) or you can just port forward the port to yourÂ workstation via SSH :
$ ssh -L 1936:localhost:1936 master.openshift
Now that it’s done and you have 1936 tunelled you need to figure out the password of the haproxy stats.Â It’s stored in its environmentÂ variables so you just do a oc describe to see it for example :
Now that you have the password (uo5LtC6mac in my case), you just point your workstation webÂ browser to :
just make sure to replace theÂ password with your own password and you should be all set.