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
Dynamic Routing by Envoy + Istio
Search
Yuki Ito
January 08, 2020
Technology
2
1.4k
Dynamic Routing by Envoy + Istio
Yuki Ito
January 08, 2020
Tweet
Share
More Decks by Yuki Ito
See All by Yuki Ito
newmo の創業を支える Software Architecture と Platform Engineering
110y
5
2.9k
Modular Monolith Go Server with GraphQL Federation + gRPC
110y
1
1k
Modular Monolith + Go @ newmo
110y
1
1.1k
Go + GraphQL @ newmo
110y
3
810
Architect / Platform Team at KAUCHE
110y
1
590
Cloud Run + Observability / Reliability @ KAUCHE
110y
0
560
Cloud Run CI/CD + QA @ KAUCHE
110y
1
600
Microservices on Cloud Run @ KAUCHE
110y
0
240
KAUCHE Loves Go
110y
0
470
Other Decks in Technology
See All in Technology
オブザーバビリティプラットフォーム開発におけるオブザーバビリティとの向き合い / Hatena Engineer Seminar #34 オブザーバビリティの実現と運用編
arthur1
0
340
家族の思い出を形にする 〜 1秒動画の生成を支えるインフラアーキテクチャ
ojima_h
1
460
【新卒研修資料】数理最適化 / Mathematical Optimization
brainpadpr
25
11k
Strands Agents & Bedrock AgentCoreを1分でおさらい
minorun365
PRO
6
240
ロールが細分化された組織でSREと協働するインフラエンジニアは何をするか? / SRE Lounge #18
kossykinto
0
180
AI によるドキュメント処理を加速するためのOCR 結果の永続化と再利用戦略
tomoaki25
0
400
マルチモーダル基盤モデルに基づく動画と音の解析技術
lycorptech_jp
PRO
4
510
製造業の課題解決に向けた機械学習の活用と、製造業特化LLM開発への挑戦
knt44kw
0
160
データ基盤の管理者からGoogle Cloud全体の管理者になっていた話
zozotech
PRO
0
340
LTに影響を受けてテンプレリポジトリを作った話
hol1kgmg
0
290
LLMをツールからプラットフォームへ〜Ai Workforceの戦略〜 #BetAIDay
layerx
PRO
1
870
S3 Glacier のデータを Athena からクエリしようとしたらどうなるのか/try-to-query-s3-glacier-from-athena
emiki
0
180
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
How GitHub (no longer) Works
holman
314
140k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
182
54k
Adopting Sorbet at Scale
ufuk
77
9.5k
Writing Fast Ruby
sferik
628
62k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Docker and Python
trallard
45
3.5k
Optimizing for Happiness
mojombo
379
70k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
332
22k
What's in a price? How to price your products and services
michaelherold
246
12k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
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