Skip to content

a dockerized version of Træfik to be used on OpenShift

License

Notifications You must be signed in to change notification settings

AMS-IX/openshift-traefik

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 on docker

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 maro4inter/openshift-traefik
Port Protocol
8081 http traffic
8443 https traffic (default)
8080 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/build.yaml
oc create -f openshift/deployment.yaml
oc create -f openshift/service.yaml

Create on openshift with FULL template AllInOne

oc login https://<your-master-node>:8443
oc new-project traefik
oc create -f openshift/traefik_full_template.yaml

About

a dockerized version of Træfik to be used on OpenShift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 73.3%
  • Shell 26.7%