Public Repository

Last pushed: 3 months ago
Short Description
Default HAProxy router image for OpenShift Origin
Full Description

This is a replacement image for default OpenShift Origin HaProxy router. The only difference is this image uses latest stable HaProxy version available.

Usage

Pull the image and execute it:

sudo docker run -d -p 80:80 zjagust/openshift-origin-default-haproxy-router

To access image shell, execute the following:

docker exec -ti <CONTAINER-ID> bash

Build an OpenShift Origin default router

If you have an existing default router already running in OpenShift Origin, you need to remove it first:

oc login -u system:admin
oc delete pods $(oc get pods | grep router | awk '{print $1}')
oc delete svc router
oc delete serviceaccount router
oc delete dc router

Now a new router can be defined/built with this image:

oadm router router --replicas=1 --selector='region=infra' --images=zjagust/openshift-origin-default-haproxy-router --service-account=router

Source

Source for this image is available on GitHub.

Docker Pull Command
Owner
zjagust

Comments (0)