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
kspan: Traces from Events
Search
mita
May 20, 2021
Technology
1
980
kspan: Traces from Events
kspan: Traces from Events
Kubernetes Meetup Tokyo #41 LT
mita
May 20, 2021
Tweet
Share
More Decks by mita
See All by mita
Higher level abstraction/orchestration with Crossplane and Open Application Model
mita
0
830
Other Decks in Technology
See All in Technology
大規模プロジェクトにおける 品質管理の要点と実践 / 20250327 Suguru Ishii
shift_evolve
0
290
非エンジニアにも伝えるメールセキュリティ / Email security for non-engineers
ykanoh
13
4k
スケールアップ企業のQA組織のバリューを最大限に引き出すための取り組み
tarappo
4
960
30 代子育て SRE が考える SRE ナレッジマネジメントの現在と将来
kworkdev
PRO
0
110
Tirez profit de Messenger pour améliorer votre architecture
tucksaun
1
150
LINE Notify互換のボットを作った話
kenichirokimura
0
180
コード品質向上で得られる効果と実践的取り組み
ham0215
2
200
SSH公開鍵認証による接続 / Connecting with SSH Public Key Authentication
kaityo256
PRO
2
220
アプリケーション固有の「ロジックの脆弱性」を防ぐ開発者のためのセキュリティ観点
flatt_security
32
12k
新卒エンジニア研修の試行錯誤と工夫/nikkei-tech-talk-31
nishiuma
0
200
移行できそうでやりきれなかった 10年超えのシステムを葬るための戦略
ryu955
2
490
ペアプログラミングにQAが加わった!職能を超えたモブプログラミングの事例と学び
tonionagauzzi
1
150
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Automating Front-end Workflow
addyosmani
1369
200k
Git: the NoSQL Database
bkeepers
PRO
429
65k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.3k
Documentation Writing (for coders)
carmenintech
69
4.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
4
470
GraphQLの誤解/rethinking-graphql
sonatard
70
10k
Six Lessons from altMBA
skipperchong
27
3.7k
How to train your dragon (web standard)
notwaldorf
91
5.9k
Transcript
Recap kspan Traces from Events https://static.sched.com/hosted_ fi les/kccnceu2021/fd/Traces%20from%20Events%20%28Kspan%29.pdf https://sched.co/iE3j
Recap Name: mita Role: Infrastructure Engineer Interest: - Improving Operator
Experience - Cloud Native - KRM Ecosystems - Kubernetes Operators - Observability - Chaos Engineering - Infrastructure as Code
Recap Observabilityͷ̏ຊப • 2017ʹɺObservabilityͷ3ຊபͱͯ͠ Logging, Metrics, Tracing͕ఏএ͞Εͨ • New RelicͰM.E.L.T(Metrics,
Events, Logs, Traces)ͷ4ͭͱఆٛͯ͠Δ(https://newrelic.com/resources/ ebooks/what-is-observability) https://peter.bourgon.org/blog/2017/02/21/metrics-tracing-and-logging.html
Recap What is kspan? • KubeCon EUͰհ͞ΕͨWeaveworksͷπʔϧ(Experimental) • Kubernetes্Ͱੜ͞ΕΔEventΛTraceʹม͢Δ https://github.com/weaveworks-experiments/kspan
Recap Architecture https://static.sched.com/hosted_ fi les/kccnceu2021/fd/Traces%20from%20Events%20%28Kspan%29.pdf
Recap Demo Jaeger kspan Nginx Deployment Manifest api-server 4. Emit
spans as OTLP(OpenTelemetry Protocol) 2. watch events 3. convert events to spans 1. apply manifest
Recap ༨ஊ Kubernetes EventͷTimestamp • ԼهIssueʹ͋Δ௨ΓɺޙํޓੑΛอͬͨ··millisecond୯ҐͷϑΥʔ ϚοτΛ৽ͨʹ࠾༻͢Δͷݫ͍͠ • ͦͷͨΊɺඵ୯ҐͷEventͷॱং͕ٯస͢Δ •
https://github.com/kubernetes/kubernetes/issues/81026 • EventϦιʔεࣗମϚΠΫϩඵ୯ҐͷλΠϜελϯϓΛอ͍࣋ͯ͠Δ https://pkg.go.dev/k8s.io/api/core/v1#Event