Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Introduction to Traefik
Search
waahhhh
May 20, 2019
Programming
500
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
SREの越境 / SRE Collaboration
y0hgi
2
290
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
すこし踏み込む CancellationToken
htkym
2
1.6k
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2.6k
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
370
スマートフォンでモールス信号を送受信する 〜スマートフォンのLEDとカメラで作る光通信の設計と実装〜
atsuki_seo
0
220
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
320
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
370
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
160
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
6k
iOSDC Japan 2026 - Swiftで作って学ぼう!データベース自作入門
kaseken
2
430
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
510
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
840
Paper Plane
katiecoart
PRO
4
53k
How GitHub (no longer) Works
holman
316
150k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
58k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Thoughts on Productivity
jonyablonski
76
5.4k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
420
Tell your own story through comics
letsgokoyo
1
1.1k
New Earth Scene 8
popppiees
4
2.6k
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