OpenShift HAProxy Router
This image is an OpenShift Router - it connects on an OpenShift Origin installation and begins serving HTTP(s) proxy routes for applications hosted on the OpenShift PaaS.
Building the haproxy router image
To build the image, run:
$ hack/build-base-images.sh $ hack/build-images.sh
Running the router
Take the image above and run it anywhere where the networking allows the container to reach other pods. Only notable requirement is that the port 80 needs to be exposed to the node, so that DNS entries can point to the host/node where the router container is running.
$ docker run --rm -it -p 80:80 origin/openshift-haproxy-router -master $kube-master-url
example of kube-master-url : http://10.0.2.15:8080
Change in command: origin/openshift-haproxy-router to openshift/origin-haproxy-router