Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to Traefik
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
waahhhh
May 20, 2019
Programming
490
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Introduction to Traefik
Short introduction to Traefik in Version 1.
waahhhh
May 20, 2019
Other Decks in Programming
See All in Programming
霧の中の代数的エフェクト
funnyycat
1
460
今さら聞けない .NET CLI
htkym
0
180
Prismを使った型安全な暗号化_関数型まつり2026
_fhhmm
0
170
Google Apps Script で Ruby を動かす
kawahara
0
130
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
460
Android CLI
fornewid
0
210
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
970
アルゴリズムは何を圧縮しているのか ─ Haskell から育った「圧縮代数」というメンタルモデル
naoya
16
3.8k
5分で問診!Composer セキュリティ健康診断
codmoninc
0
860
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
140
テーブルをDELETEした
yuzneri
0
130
What's New in Android 2026
veronikapj
0
250
Featured
See All Featured
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
190
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
400
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.9k
Crafting Experiences
bethany
1
240
The Invisible Side of Design
smashingmag
301
52k
Paper Plane
katiecoart
PRO
2
52k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.5k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
400
Transcript
Introduction to Traefik
AGENDA AGENDA About Traefik Common Misunderstandings Compared to Nginx Example
of use Using Docker & Docker-Compose Insight into V2
ABOUT TRAEFIK ABOUT TRAEFIK HTTP Reverse Proxy & Load Balancer
First commit: 2017-03 Written in Go Open to the community
ABOUT TRAEFIK ABOUT TRAEFIK HTTP Reverse Proxy & Load Balancer
COMMON MISUNDERSTANDINGS COMMON MISUNDERSTANDINGS It's not a webserver Has a
built-in webserver for error pages (But nothing more!)
COMPARED TO NGINX COMPARED TO NGINX Nginx Traefik Load Balancer
Reverse Proxy Webserver Supports TCP & FastCGI ¹ ¹ Traefik in Version 1.X
COMPARED TO NGINX COMPARED TO NGINX BENCHMARK BENCHMARK Source: Traefik
is obviously slower than Nginx, but not so much: Traefik can serve 28392 requests/sec and Nginx 33591 requests/sec which gives a ratio of 85%. Not bad for young project :) ! https://docs.traefik.io/v1.5/benchmarks
BENEFITS OF TRAEFIK BENEFITS OF TRAEFIK Nginx Traefik Let's Encrypt
Docker Kubernetes Dashboard Dynamic Configuration
EXAMPLE OF USE EXAMPLE OF USE Live demo!
docker-compose.yml version: "3.7" services: traefik: image: traefik:alpine ports: - "80:80"
labels: - "traefik.frontend.rule=Host:traefik.localtest.me" - "traefik.port=8080" volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - ./traefik.toml:/etc/traefik/traefik.toml 1 2 3 4 5 6 7 8 9 10 11 12 13
traefik.toml defaultEntryPoints = ["http"] [entryPoints] [entryPoints.http] address = ":80" [docker]
endpoint = "unix:///var/run/docker.sock" watch = true exposedByDefault = true swarmMode = false [api] entryPoint = "traefik" adress = ":8080" dashboard = true 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
docker-compose.yml whoami: image: emilevauge/whoami labels: - "traefik.frontend.rule=Host:whoami.localtest.me" 1 2 3
4
INSIGHT INTO V2 INSIGHT INTO V2 TCP Middlewares...
THANK YOU! THANK YOU! Slack: Blog: Github: Tutorials: https://slack.traefik.io https://blog.containo.us
https://github.com/containous/traefik Github: Awesome-Traefik
WORKAROUND FOR FASTCGI WORKAROUND FOR FASTCGI https://github.com/containous/traefik/issues/753