Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 824 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 824 Bytes

OpenShift Træfik

This repository contains a dockerized version of træfik to be used on OpenShift by running as a non-priviledged user.

Run

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)

Create on openshift

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