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
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
940
Architect / Platform Team at KAUCHE
110y
1
670
Cloud Run + Observability / Reliability @ KAUCHE
110y
0
640
Cloud Run CI/CD + QA @ KAUCHE
110y
1
650
Microservices on Cloud Run @ KAUCHE
110y
0
290
KAUCHE Loves Go
110y
0
510
Other Decks in Technology
See All in Technology
QA組織のAI戦略とAIテスト設計システムAITASの実践
sansantech
PRO
1
260
FASTでAIエージェントを作りまくろう!
yukiogawa
4
160
Tour of Agent Protocols: MCP, A2A, AG-UI, A2UI with ADK
meteatamel
0
130
やさしいとこから始めるGitHubリポジトリのセキュリティ
tsubakimoto_s
3
2k
Why we keep our community?
kawaguti
PRO
0
340
私がよく使うMCPサーバー3選と社内で安全に活用する方法
kintotechdev
0
140
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
Zephyr(RTOS)でARMとRISC-Vのコア間通信をしてみた
iotengineer22
0
100
SaaSに宿る21g
kanyamaguc
2
180
RGBに陥らないために -プロダクトの価値を届けるまで-
righttouch
PRO
0
130
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
260
開発チームとQAエンジニアの新しい協業モデル -年末調整開発チームで実践する【QAリード施策】-
kaomi_wombat
0
270
Featured
See All Featured
The Invisible Side of Design
smashingmag
302
51k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
190
Balancing Empowerment & Direction
lara
5
1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
The Cult of Friendly URLs
andyhume
79
6.8k
Marketing to machines
jonoalderson
1
5.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
900
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Fireside Chat
paigeccino
42
3.9k
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