Skip to content

Understanding router in openshift v3

Chakradhar Rao Jonagam edited this page Jul 10, 2016 · 1 revision

When services are exposed outside via routes haproxy entries are created. how to investigate ?

switch to project where router is hosted

oc project default

ssh into router pod

oc rsh default1-1-ly6wg  #may change for you

check the haproxy config

cat  /var/lib/haproxy/conf/haproxy.config

Check for stats section

stats enable
stats hide-version
stats realm Haproxy\ Statistics
stats uri /
stats auth admin:coekZU0mSQ

expose the route for this haproxy in default project, select 1936 port

Hit url http://default1-default.openshift.ck.osecloud.com/ and login with the creds above

Clone this wiki locally