mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-12 11:15:04 +02:00
…
|
||
---|---|---|
.. | ||
ca-certificates.crt | ||
Dockerfile | ||
k8s.ing.yaml | ||
k8s.rc.yaml | ||
README.md | ||
traefik |
traefik
Træfɪk is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease. It supports several backends (Docker 🐳, Swarm 🐳🐳, Mesos/Marathon, Consul, Etcd, Zookeeper, BoltDB, Rest API, file...) to manage its configuration automatically and dynamically.
up and running
$ kubectl cluster-info
$ kubectl create -f k8s.rc.yaml -f k8s.ing.yaml
$ kubectl run website --image=easypi/nginx-arm --port=80 --replicas=4
$ kubectl expose deployment website --type=NodePort
$ curl --resolve website:80:192.168.31.231 http://website/