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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Yuki Ito
January 08, 2020
Technology
1.4k
2
Share
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.5k
Modular Monolith Go Server with GraphQL Federation + gRPC
110y
1
1.1k
Modular Monolith + Go @ newmo
110y
1
1.2k
Go + GraphQL @ newmo
110y
3
950
Architect / Platform Team at KAUCHE
110y
1
670
Cloud Run + Observability / Reliability @ KAUCHE
110y
0
650
Cloud Run CI/CD + QA @ KAUCHE
110y
1
660
Microservices on Cloud Run @ KAUCHE
110y
0
290
KAUCHE Loves Go
110y
0
520
Other Decks in Technology
See All in Technology
え!?初参加で 300冊以上 も頒布!? これは大成功!そのはずなのに わいの財布は 赤字 の件
hellohazime
0
150
Claude Code を安全に使おう勉強会 / Claude Code Security Basics
masahirokawahara
2
11k
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
5
14k
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
インターネットの技術 / Internet technology
ks91
PRO
0
160
Digitization部 紹介資料
sansan33
PRO
1
7.3k
Do Ruby::Box dream of Modular Monolith?
joker1007
1
290
Snowflake Intelligence導入で 分かった活用のコツ
wonohe
0
110
Azure Speech で音声対応してみよう
kosmosebi
0
150
AI時代にデータ基盤が持つべきCapabilityを考える + Snowflake Data Superheroやっていき宣言 / Considering the Capabilities Data Platforms Should Have in the AI Era + Declaration of Commitment as a Snowflake Data Superhero
civitaspo
0
110
こんなアーキテクチャ図はいやだ / Anti-pattern in AWS Architecture Diagrams
naospon
1
400
自分のハンドルは自分で握れ! ― 自分のケイパビリティを増やし、メンバーのケイパビリティ獲得を支援する ― / Take the wheel yourself
takaking22
1
820
Featured
See All Featured
Making Projects Easy
brettharned
120
6.6k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
130
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
130
Navigating Team Friction
lara
192
16k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
190
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
30 Presentation Tips
portentint
PRO
1
270
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
180
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
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