This repository contains a dockerized version of træfik to be used on OpenShift by running as a non-priviledged user.
docker run -d -p 8080:8080 -p 8443:8443 -p 8081:8081 -v $PWD/etc/traefik.toml:/traefik.toml -v $PWD/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt -it philippallgeuer/openshift-traefik
Port | Protocol |
---|---|
8080 | http traffic |
8443 | https traffic (default) |
8081 | traefik dashobard (UI) |
oc login https://<your-master-node>:8443
oc new-project traefik
oc create -f openshift/acme_secret.yaml
oc create -f openshift/traefik_configmap.yaml
oc create -f openshift/deployment.yaml
oc create -f openshift/service.yaml