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
1k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
kspan: Traces from Events
kspan: Traces from Events
Kubernetes Meetup Tokyo #41 LT
mita
May 20, 2021
More Decks by mita
See All by mita
Developer 以外にこそ使って欲しい Amazon Q Developer
mita
1
930
Higher level abstraction/orchestration with Crossplane and Open Application Model
mita
0
1k
Other Decks in Technology
See All in Technology
AI時代における最適なQA組織の作り方
ymty
3
350
Amazon EVS で VCF 9.0 / 9.1 のサポート開始まとめ
mtoyoda
0
170
きのこカンファレンス2026_肩書きを外したとき私は誰か
yamasatimi
1
130
アラート調査向けAIエージェントの本番導入とその後/AI Agents for Alert Investigation: Production Deployment and After
taddy_919
1
330
打造你的 AI 工作流:Agent Skill + MCP 實戰工作坊
appleboy
0
490
デジタル・デザイン構想 by Sayaka Ishizuka
y150saya
0
190
「ちゃんとやっている」は独りよがりだった ― 不安に寄り添うインシデント対応へ / Towards incident response that addresses anxieties
chmikata
1
350
Kotlin 開発のツラミを爆破した話! / Explode the difficulty of Kotlin dev!
eller86
0
140
AIで政治は変わるのか? — 中高生と考えたAI時代の民主主義(東海高校サタデープログラム)
eitarosuda
0
370
はてなのサービス基盤を支える Kubernetes《足腰》
masayoshimaezawa
0
430
End-to-Endで考える信頼性 —LINEアプリにおけるクライアント開発×SRE連携の実践
maruloop
0
110
知見・人・API・DB・予算 ─ ナイナイ尽くしだった人事データ整備 with dbt、5年間の学び
ken6377
1
150
Featured
See All Featured
Optimizing for Happiness
mojombo
378
71k
Chasing Engaging Ingredients in Design
codingconduct
0
230
Code Reviewing Like a Champion
maltzj
528
40k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Agile that works and the tools we love
rasmusluckow
331
22k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.6k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
550
Mind Mapping
helmedeiros
PRO
1
270
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
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