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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
go_vargo
June 04, 2019
Programming
840
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
More Decks by go_vargo
See All by go_vargo
Kubernetes Internal #9 - Minikube
govargo
0
370
気をつけたい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
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
270
Modernizing iOS Apps
seyfoyun
0
140
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
120
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
1.6k
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
180
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
310
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
3
630
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
650
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
120
LLM 101
dalinaum
0
350
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
1.1k
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
100
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
640
The browser strikes back
jonoalderson
0
1.9k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
550
Music & Morning Musume
bryan
48
7.5k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
590
Code Reviewing Like a Champion
maltzj
529
40k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Exploring anti-patterns in Rails
aemeredith
4
550
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
590
Transcript
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-