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
Debugging for MicroService on Kubernetes
Search
go_vargo
June 04, 2019
Programming
850
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Debugging for MicroService on Kubernetes
go_vargo
June 04, 2019
Transcript
18 slides
Debugging for MicroService on Kubernetes 1
ࣗݾհ ໊લ: ү ݡେ(@go_vargo) ॴଐ: גࣜձࣾίϩϓϥ ɹɹ Πϯϑϥάϧʔϓ ୈ2άϧʔϓ झຯ:
ΫϥυωΠςΟϒܥͷMeetupͷࢀՃ CKA/CKADऔಘ͠·ͨ͠ https://qiita.com/go_vargo/items/3644c3a44734e2c155f4 2
ࠓͷςʔϚͷσόοά Remote Debugging ผͷίϯϐϡʔλʔ(αʔόʔ)Ͱஔɾ࣮ߦ͞Ε ͍ͯΔΞϓϦέʔγϣϯΛσόοά͢Δ͜ͱ 3
ʙ Cloud Nativeʹ͓͚ΔDebugging ʙ 4
CNCF Cloud Native Interactive Landscape https://landscape.cncf.io/images/landscape.png 5
CNCF Cloud Native Interactive Landscape https://landscape.cncf.io/images/landscape.png 6
Debugging Tool for Cloud Native 7 Squash Telepresence https://www.telepresence.io/ https://squash.solo.io/
SquashɾTelepresenceૣݟද 8 όʔδϣϯ ༻్ ڧΈ Squash ϦϞʔτ σόοά όάͷτϨʔε
ϩδοΫͷ֬ೝ Telepresence Πϝʔδͷ ஔ ΠϝʔδϏϧυ&σϓϩΠ ͷॖ ͦΕͧΕ༻్͕ҧ͏ͷͰɺ͍͍͍͚ͨ࣌Δ → ࠓճSquashʹண ҙ͕͍͔ͭ͋͘ΔͷͰཹҙ͍ͯͩ͘͠͞(ޙड़) Telepresenceʹ͍ͭͯCloud Native Meetup #7 ʮtelepresence Ͱ࢝ΊΔ k8s ࣌ͷϩʔΧϧ։ൃʯࢀর https://speakerdeck.com/shiro16/telepresence-deshi-meru-k8s-shi-dai-falserokarukai-fa
9 Squashͷ։ൃݩ Chaos Debugging: Finding and Fixing Microservice Weak Points
- Idit Levine & Mitch Kelley, Solo.io https://www.youtube.com/watch?v=jkcFFr8lLTA ΑΓൈਮ solo.io: https://www.solo.io/
10 ɾϚΠΫϩαʔϏεͷσόοά ɾPodͷίϯςφͷσόοά ɾαʔϏεͷσόοά ɾϒϨʔΫϙΠϯτͷઃఆ ɾίʔυͷεςοϓॲཧ ɾมͷධՁͱमਖ਼ ɾͦͷଞ௨ৗͷσόοΨʔͰͰ͖Δ͜ͱ SquashΛ͏ͱͰ͖Δ͜ͱ KubernetesͰͷΤϥʔͷௐࠪํ๏ɺkubectl
logdescribeͰ֬ೝ → ϩάΠϕϯτʹग़ͯ͜ͳ͍ΤϥʔௐࠪͰ͖ͳ͍ → SquashΛ͏ͱϩάʹग़ͯ͜ͳ͍ΤϥʔͷݪҼΛௐࠪͰ͖Δʂ
11 Debugger ɾDelve(Go) ɾJava ɾGDB(2019) ɾNodejs(2019) ɾPython - ptvsd(2019) IDE
ɾVisual Studio Code ɾIntelliJ(※։ൃ͕ࢭ·͍ͬͯͯಈ͔ͳ͍ɻ2019ߋ৽༧ఆ?) ɾEclipse(2019) RoadMapͱͯ͠Service Mesh(Istio)ͱͷΈ߹Θͤ2019ʹܭը Squashͷαϙʔτର
ʙ Demo ʙ 12
13 ެࣜQuick Start: https://squash.solo.io/overview/ Qiitaʹৄࡉखॱࡌ͍ͤͯ·͢ https://qiita.com/go_vargo/items/df9084a080f66f9da0cc Squash Quick Start
,VCFSOFUFT$MVTUFS 14 Demo Application(1/2) %FQMPZNFOU &YBNQMF4FSWJDF (P %FQMPZNFOU &YBNQMF4FSWJDF (PPS+BWB
DBMDVMBUF 3&45"1* Laptop Delve VSCode ϩʔΧϧڥʹࣄલʹΠϯετʔϧ ɾGo ɾDelve ɾSquashctl ɾVisual Studio Code ɾVisual Studio Code Extension for Squash
,VCFSOFUFT$MVTUFS EFGBVMU/BNFTQBDF 15 Demo Application(2/2) %FQMPZNFOU &YBNQMF4FSWJDF (P %FQMPZNFOU &YBNQMF4FSWJDF
(PPS+BWB DBMDVMBUF 3&45"1* TRVBTIEFCVHHFS/BNFTQBDF VSCode 1MBOL1PE
16 ɾσόοά͕ऴΘͬͨޙʹɺPlankͷPod͕আ͞ Εͳ͍ͷͰࣗͰClean Up͢Δ ɾσόοάͷʹιʔεϚοϐϯάͷઃఆΛߦ͏ ඞཁ͕͋Δ(ಛʹGoݴޠ) ࢀߟ: ҙ https://squash.solo.io/configuration/
17 ɾSquashɺDebugger for MicroService ɾରDebugger/IDEͱʹ͜Ε͔Βͷ։ൃʹظ ɾTelepresenceͱέʔεʹΑ͍͚ͬͯ ͋͘·ͰDebuggerͳͷͰɺຊ൪ڥͰΘͳ͍ Α͏ʹʂ Squashͷ͜Ε͔Βʹظʂ ·ͱΊ
18 8&"3&)*3*/(ʂʂ ˝*OGSBTUSVDUVSF&OHJOFFS -JOVY $MPVE4QBOOFS .Z42- ($1 (,& 4QJOOBLFS ˝4FSWFSTJEF&OHJOFFS
-JOVY 1)1 +BWB (P $MPVE4QBOOFS .Z42-
More Decks by go_vargo
See All by go_vargo
Kubernetes Internal #9 - Minikube
govargo
0
380
気をつけたいKubernetesとの付き合い方 / Happy Kubernetes Life
govargo
6
3k
[CNDT2020]Linux Observability with BPF Performance Tools
govargo
15
3.8k
Admission Webhookで快適なSecret管理 / Berglas Secret Admission Webhook
govargo
5
3.9k
[CNDK2019]Production Ready Kubernetesに必要な15のこと / Production Ready Kubernetes 15 Rules
govargo
38
16k
ゼロから始めるKubernetes Controller / Under the Kubernetes Controller
govargo
40
16k
Inside of Kubernetes Controller
govargo
20
12k
コロプラが実践しているSpinnakerを用いたデプロイ戦略 / Deploy Strategy with Spinnaker at Colopl
govargo
6
5.2k
Improve Docker Image by BuildKit
govargo
4
1.8k
Other Decks in Programming
See All in Programming
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
340
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
200
imagewebp()の向こう側: WebPはなぜ JPEG・PNGより軽いのか
yuzneri
0
150
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
510
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
450
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
180
特急いなほ as a Workflow / 20261107jaws-festa-2026-akita-lt
kasacchiful
PRO
0
110
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
300
祈るテストから、探索するテストへ 〜Lincheckではじめる並行処理テスト〜
yyh_gl
0
430
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
610
AIエージェントの「テストは通るのに本番で壊れる」を減らす
shibuiwilliam
3
120
SODA - FACT BOOK(EN)
sodainc
1
280
Featured
See All Featured
Everyday Curiosity
cassininazir
0
420
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
520
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
600
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.7k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
530
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
320
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
440
Believing is Seeing
oripsolob
1
290
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
570