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
Dynamic Routing by Envoy + Istio
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yuki Ito
January 08, 2020
Technology
1.4k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Dynamic Routing by Envoy + Istio
Yuki Ito
January 08, 2020
More Decks by Yuki Ito
See All by Yuki Ito
newmo の創業を支える Software Architecture と Platform Engineering
110y
5
3.7k
Modular Monolith Go Server with GraphQL Federation + gRPC
110y
1
1.2k
Modular Monolith + Go @ newmo
110y
1
1.3k
Go + GraphQL @ newmo
110y
3
1k
Architect / Platform Team at KAUCHE
110y
1
730
Cloud Run + Observability / Reliability @ KAUCHE
110y
0
690
Cloud Run CI/CD + QA @ KAUCHE
110y
1
690
Microservices on Cloud Run @ KAUCHE
110y
0
330
KAUCHE Loves Go
110y
0
550
Other Decks in Technology
See All in Technology
全員がプロダクトへ向き合う組織を持続成長させるために——組織づくりのフライホイールと4象限 / The Flywheel Model and Four Quadrants for Organizational Design
hiro_torii
4
950
Sigmaで作る業務アプリ
kazushiro_honma
0
110
なぜSRE・セキュリティは評価されないのか?守りの組織を事業成長エンジンに変えた実践
cscengineer
PRO
3
2.4k
SQL文一行も書けない人事がCortexもろもろを使って人事業務を楽にしてみる
ponponmikankan
1
210
【視聴者参加型!】AWSセキュリティアンチパターンクイズ
syoshie
1
490
The Agent Builder Loop from Daily Work to OSS
minorun365
PRO
3
120
アリアドネの糸と、20年ごとの建て替え ── 長尾真『電子図書館』を、伊勢で読み直す / Rereading Makoto Nagao’s "Electronic Library" in Ise
ykiyota
0
140
PfEingのアプローチで働こう
rindrics
0
210
ASTを使って影響範囲を特定する
nealle
0
140
Sigmaユーザーのための有用リソース一挙公開 & Sigmaで使えるMCP #sigma_ucj /useful-resources-for-sigma-computing-users-and-mcps-with-sigma
shinyaa31
0
180
From Vanilla Kubernetes to a Batteries-Included Platform: Developer Experience at 1,300+ Clusters
yosshi_
0
680
Omarchy Quattro の日本語設定周り
simosako
2
140
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7.2k
The SEO Collaboration Effect
kristinabergwall1
1
550
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.2k
Rails Girls Zürich Keynote
gr2m
96
14k
Discover your Explorer Soul
emna__ayadi
2
1.3k
The Spectacular Lies of Maps
axbom
PRO
1
990
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
270
Designing for Performance
lara
611
70k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
420
Side Projects
sachag
455
43k
Transcript
Dynamic Routing by Envoy + Istio Envoy Meetup Tokyo #1
Yuki Ito
Merpay Architect Team Backend Engineer Yuki Ito
Goal Multi-line QA microservice A PR 1 PR 2 PR
3
Architecture API Gateway VirtualService microservice A Service Pod PR 3
Service Pod PR 2 Service Pod PR 1 JWT
Architecture API Gateway VirtualService microservice A Service Pod PR 3
Service Pod PR 2 Service Pod PR 1 JWT microservice-A: PR-1
Custom HTTP Filter { "microservice-A": "PR-1", "microservice-B": "PR-2" } microservice-A:
PR-1 microservice-B: PR-2 Request from APP Request to Upstream JWT Payload HTTP Header ɾɾɾ ɾɾɾ
Custom HTTP Filter EnvoyFilter spec: workloadLabels: mercari.com/service-router: enabled filters: -
listenerMatch: listenerType: SIDECAR_OUTBOUND listenerProtocol: HTTP filterName: envoy.lua filterType: HTTP filterConfig: inlineCode: | ...
Custom HTTP Filter
Routing via VirtualService VirtualService http: - match: - headers: microservice-A:
exact: "PR-1" route: - destination: host: pr-1.microservice-a.svc.cluster.local ...
Architecture API Gateway VirtualService microservice A Service Pod PR 3
Service Pod PR 2 Service Pod PR 1 JWT